minos.networks.decorators.definitions.http.rest
Classes
Rest Command Enroute class |
|
Rest Enroute class |
|
Rest Query Enroute class |
- class RestEnrouteDecorator[source]
Bases:
HttpEnrouteDecorator
Rest Enroute class
- __init__(path=None, method=None, url=None, **kwargs)
- property post_fn_name: str
Get the post execution function name.
- Returns
A string value containing the function name.
- property pre_fn_name: str
Get the pre execution function name.
- Returns
A string value containing the function name.
- KIND: Final[EnrouteDecoratorKind]
- class RestCommandEnrouteDecorator[source]
Bases:
RestEnrouteDecorator
Rest Command Enroute class
- KIND: Final[minos.networks.decorators.definitions.kinds.EnrouteDecoratorKind] = 1
- __init__(path=None, method=None, url=None, **kwargs)
- property post_fn_name: str
Get the post execution function name.
- Returns
A string value containing the function name.
- class RestQueryEnrouteDecorator[source]
Bases:
RestEnrouteDecorator
Rest Query Enroute class
- KIND: Final[minos.networks.decorators.definitions.kinds.EnrouteDecoratorKind] = 2
- __init__(path=None, method=None, url=None, **kwargs)
- property post_fn_name: str
Get the post execution function name.
- Returns
A string value containing the function name.