enviro_interface#

confs.enviro_interface.enviro_to_obj()[source]#

DESCRIPTION:

This method collects the status of the environment upon entry and casts and returns the environment attributes as a Python SimpleNamespace object.

Returns:
envobj: SimpleNamespace

A Python SimpleNamespace object containing the environment attributes.

Raises:
EnviroInterfaceError:
  • raised if an exception is encountered while parsing the environment and/or building the Python SimpleNamespace object.

Return type:

SimpleNamespace