envcontext

class guerilla.envcontext

Bases: object

The environment context

static get(name=None)

Get a context variable value, or all context variables

Parameters:name (str) – The name of the variable to query, or nil for all variables
Returns:The result value(s)
Return type:str or {string}
static getenv(name)

Get a context variable value, or the base environment if missing from the context

Parameters:name (str) – The name of the variable to query
Returns:The result value
Return type:str or None