Get Attribute
Description
Allows to access attributes from the object. get("foo") will try to return self._foo if it exists.
Usage
Config.get(what)
Arguments
-
whatstr - Name of the attribute (without leading underscore).
Return
Whatever is stored on the attribute.
Raises
-
TypeError: If argumentwhatis not str. -
ValueError: If the argument_{what}does not exist.