config

Manages configuration options.

options = {'caching': False, 'session': 'platform-dependent'}

Default values for configuration options.

option(name=None, value=None)[source]

Sets or returns the value of a configuration option.

If called without arguments, returns all configuration options as a dictionary. Returns an option’s value if only called with the option’s name. Otherwise sets the option to the given value.