Jan Losinski
fdac477d09
Change config to use dataclasses
...
This means that we depend on python 3.7 now. But it gives an easier
possibility to distinguish between required and optional parameters. It
also allows to pecify the type of the option drectly and access it via
the dataclasses fields.
This might fix #2
2019-02-05 21:20:55 +01:00
Jan Losinski
9f4415219f
More logging in config
...
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2018-03-22 03:11:09 +01:00
Jan Losinski
3703c522fa
Get config from environment
2018-03-22 02:50:01 +01:00
Jan Losinski
48e6e66a4f
Implement config file parsing
2018-03-22 02:44:54 +01:00
Jan Losinski
8a9246114c
Warn if token refresh fails
...
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2018-03-22 01:00:55 +01:00
Jan Losinski
0f56408bc7
Move client credentials to the config.
...
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2018-03-21 20:14:15 +01:00
Jan Losinski
526817de61
Add basic config handling
...
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2018-03-21 12:58:02 +01:00
Jan Losinski
e3743dd6da
Add config and fix sesson handling.
...
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2018-03-21 07:23:02 +01:00