minos.networks.decorators.definitions.http.rest

Classes

RestCommandEnrouteDecorator

Rest Command Enroute class

RestEnrouteDecorator

Rest Enroute class

RestQueryEnrouteDecorator

Rest Query Enroute class

class RestEnrouteDecorator[source]

Bases: HttpEnrouteDecorator

Rest Enroute class

__init__(path=None, method=None, url=None, **kwargs)
Parameters
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.

property url: str

Get the url.

Returns

A str value.

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)
Parameters
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.

property url: str

Get the url.

Returns

A str value.

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)
Parameters
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.

property url: str

Get the url.

Returns

A str value.