minos.networks.decorators.callables.handlers module¶
- class minos.networks.decorators.callables.handlers.HandlerMeta(func, decorators=None, checkers=None)[source]¶
Bases:
object
Handler Meta class.
- add_decorator(decorator)[source]¶
Add a new decorator to the
decorators
set.- Parameters
decorator (EnrouteDecorator) – The decorator to be added.
- Return type
None
- Returns
This method does not return anything.
- async_wrapper¶
Get the async
HandlerWrapper
instance.- Returns
A
HandlerWrapper
instance.
- check¶
Get the check decorator.
- Returns
A
CheckDecorator
type.
- checkers: set[CheckerMeta]¶
- decorators: set[EnrouteDecorator]¶
- func: Handler¶
- sync_wrapper¶
Get the sync
HandlerWrapper
instance.- Returns
A
HandlerWrapper
instance.
- property wrapper: minos.networks.decorators.callables.handlers.HandlerWrapper¶
Get the
HandlerWrapper
instance.- Return type
- Returns
A
HandlerWrapper
instance.