cowbird.handlers
Subpackages
Package Contents
Classes
Create handler instance using handler name. |
Functions
|
Obtains the handlers managed by the application. |
-
class
cowbird.handlers.
HandlerFactory
[source] Create handler instance using handler name.
-
create_handler
(name: HandlerFactory) → cowbird.handlers.handler.Handler Instantiates a new Handler implementation using its name, overwriting an existing instance if required.
-
get_handler
(name: HandlerFactory) → cowbird.handlers.handler.Handler Instantiates a Handler implementation using its name if it doesn’t exist or else returns the existing one from cache.
-
get_active_handlers
() → List[cowbird.handlers.handler.Handler] Return a sorted list by priority of Handler implementation activated in the config.
-
-
cowbird.handlers.
get_handlers
(container: cowbird.typedefs.AnySettingsContainer) → List[handler.Handler][source] Obtains the handlers managed by the application.