Config

Unit config schemas make use of the Marshmallow library and offers a clean and safe way of customizing Units.

Read more in Setup/Configure, or check out an Example.

class aioli.config.UnitConfigSchema(*args, **kwargs)[source]

Unit configuration schema

Variables:
  • debug – Set debug level for unit, effectively overriding Application’s debug level
  • path – Unit path, uses Unit name if empty
  • should_import_services – Setting to False skips Service registration for this Unit
  • should_import_controllers – Setting to False skips Controller registration for this Unit