ape.infrastructure.configurationmap.ConfigurationMap.get_boolean

ConfigurationMap.get_boolean(section, option, optional=False, default=None)

Gets a value and casts it to a boolean

Param:
  • cast: function to cast the value
  • section: section with value
  • option: option in section with value
Returns:

value from section:option

Raise:

ConfigurationError if it can’t be cast

Navigation