Configuration Module
Everything related to user configuration file.
-
class sobe.config.AWSConfig[source]
Bases: NamedTuple
AWSConfig(bucket, cloudfront, session, service)
-
bucket:
str
Alias for field number 0
-
cloudfront:
str
Alias for field number 1
-
classmethod from_dict(raw)[source]
- Return type:
Self
- Parameters:
raw (dict[str, Any])
-
service:
dict[str, Any]
Alias for field number 3
-
session:
dict[str, Any]
Alias for field number 2
-
class sobe.config.Config[source]
Bases: NamedTuple
Config(url, aws)
-
aws:
AWSConfig
Alias for field number 1
-
classmethod from_dict(raw)[source]
- Return type:
Self
- Parameters:
raw (dict[str, Any])
-
url:
str
Alias for field number 0
-
exception sobe.config.MustEditConfig[source]
Bases: Exception
Config file must be edited before this tool can be used.
-
__init__(path)[source]
- Parameters:
path (Path)
-
sobe.config.load_config()[source]
- Return type:
Config