Config

class avanza.Config

Bases: object

Config class for setting and retrieving settings

settings
cookie_path
path to file which should be used when loading/storing cookies
classmethod get(name)

Retrieves the value of setting

Parameters:name (str) – The key which value should be returned
classmethod set(name)

Change settings using dict

Examples

>>> avanza.Config.set({'cookie_path': '/path/to/file'})
Parameters:name (dict) – The new values to set