Source code for cowbird.handlers

from typing import TYPE_CHECKING

from cowbird.handlers.handler_factory import HandlerFactory

if TYPE_CHECKING:
    from typing import List

    from cowbird.handlers.handler import Handler
    from cowbird.typedefs import AnySettingsContainer


[docs]def get_handlers(container): # type: (AnySettingsContainer) -> List[Handler] """ Obtains the handlers managed by the application. """ return HandlerFactory().get_active_handlers()