Skip to content

config

system

system(key=None, value=None, type='str')

Gets or sets system configuration.

PARAMETER DESCRIPTION
key

key

TYPE: Optional[str] DEFAULT: None

value

value

TYPE: Optional[str] DEFAULT: None

type

type

TYPE: Optional[str] DEFAULT: 'str'

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