config
system
system(key=None, value=None, type='str')
Gets or sets system configuration.
PARAMETER | DESCRIPTION |
---|---|
key |
key
TYPE:
|
value |
value
TYPE:
|
type |
type
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
Optional[Union[str, int, float, dict]]
|
With no argument, system configuration is returned as a dict. With only key given, the system configuration value for the key is returned. With key, value, and type given, system configuration is updated with the value of the type for the key. If type is omitted, str is assumed. |
user
user()
Gets user configuration.
RETURNS | DESCRIPTION |
---|---|
Optional[dict]
|
OakVar user configuration |