decorators#

Common decorators.

Functions#

env_override(envvar_name[, convert_empty_to_none])

Override the return value of the decorated function with an environment variable.

env_override(envvar_name, convert_empty_to_none=False)#

Override the return value of the decorated function with an environment variable.

If convert_empty_to_none is true, if the value of the environment variable is the empty string, a None value will be returned.