minos.networks.decorators.definitions.rest module¶
- class minos.networks.decorators.definitions.rest.RestCommandEnrouteDecorator(url, method)[source]¶
Bases:
minos.networks.decorators.definitions.rest.RestEnrouteDecorator
Rest Command Enroute class
- KIND: Final[minos.networks.decorators.definitions.kinds.EnrouteDecoratorKind] = 1¶
- __init__(url, method)¶
- property post_fn_name: str¶
Get the post execution function name.
- Return type
str
- Returns
A string value containing the function name.
- property pre_fn_name: str¶
Get the pre execution function name.
- Return type
str
- Returns
A string value containing the function name.
- class minos.networks.decorators.definitions.rest.RestEnrouteDecorator(url, method)[source]¶
Bases:
minos.networks.decorators.definitions.abc.EnrouteDecorator
,abc.ABC
Rest Enroute class
- property post_fn_name: str¶
Get the post execution function name.
- Return type
str
- Returns
A string value containing the function name.
- property pre_fn_name: str¶
Get the pre execution function name.
- Return type
str
- Returns
A string value containing the function name.
- class minos.networks.decorators.definitions.rest.RestQueryEnrouteDecorator(url, method)[source]¶
Bases:
minos.networks.decorators.definitions.rest.RestEnrouteDecorator
Rest Query Enroute class
- KIND: Final[minos.networks.decorators.definitions.kinds.EnrouteDecoratorKind] = 2¶
- __init__(url, method)¶
- property post_fn_name: str¶
Get the post execution function name.
- Return type
str
- Returns
A string value containing the function name.
- property pre_fn_name: str¶
Get the pre execution function name.
- Return type
str
- Returns
A string value containing the function name.