paya.config#

Reads config.json into a config dictionary on import.

class Config(**overrides)#

Context manager that takes overrides to config as keyword arguments.

takeUndefinedFromConfig(f)#

Function decorator. Intercepts any keyword arguments that have been set to, or left at a default of, undefined and swaps them out with values from config.

Parameters

f – the function to wrap

Returns

The wrapped function.