minos.plugins.graphql.decorators

Classes

GraphQlCommandEnrouteDecorator

GraphQl Command Enroute Decorator class

GraphQlEnroute

GraphQl Enroute class

GraphQlEnrouteDecorator

GraphQl Enroute Decorator class

GraphQlQueryEnrouteDecorator

GraphQl Query Enroute Decorator class

class GraphQlEnrouteDecorator[source]

Bases: EnrouteDecorator, ABC

GraphQl Enroute Decorator class

__init__(name, output, argument=None, **kwargs)[source]
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.

KIND: Final[minos.networks.decorators.definitions.kinds.EnrouteDecoratorKind]
class GraphQlCommandEnrouteDecorator[source]

Bases: GraphQlEnrouteDecorator

GraphQl Command Enroute Decorator class

KIND: Final[minos.networks.decorators.definitions.kinds.EnrouteDecoratorKind] = 1
__init__(name, output, argument=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.

class GraphQlQueryEnrouteDecorator[source]

Bases: GraphQlEnrouteDecorator

GraphQl Query Enroute Decorator class

KIND: Final[minos.networks.decorators.definitions.kinds.EnrouteDecoratorKind] = 2
__init__(name, output, argument=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.

class GraphQlEnroute[source]

Bases: object

GraphQl Enroute class

command

alias of GraphQlCommandEnrouteDecorator

query

alias of GraphQlQueryEnrouteDecorator

classmethod register()[source]

Register the graphql sub-enroute.