minos.networks.decorators.analyzers module

class minos.networks.decorators.analyzers.EnrouteAnalyzer(decorated, config=None, **kwargs)[source]

Bases: object

Search decorators in specified class

__init__(decorated, config=None, **kwargs)[source]
get_all()[source]

Get all functions decorated with enroute decorators.

Return type

dict[str, set[minos.networks.decorators.definitions.abc.EnrouteDecorator]]

Returns

A mapping with functions as keys and a sets of decorators as values.

get_broker_command_query()[source]

Returns broker’s command and query values.

Return type

dict[str, set[minos.networks.decorators.definitions.broker.BrokerEnrouteDecorator]]

Returns

A mapping with functions as keys and a sets of decorators as values.

get_broker_command_query_event()[source]

Returns broker’s command, query and event values.

Return type

dict[str, set[minos.networks.decorators.definitions.broker.BrokerEnrouteDecorator]]

Returns

A mapping with functions as keys and a sets of decorators as values.

get_broker_event()[source]

Returns broker’s event values.

Return type

dict[str, set[minos.networks.decorators.definitions.broker.BrokerEnrouteDecorator]]

Returns

A mapping with functions as keys and a sets of decorators as values.

get_periodic_event()[source]

Returns periodic event values.

Return type

dict[str, set[minos.networks.decorators.definitions.periodic.PeriodicEventEnrouteDecorator]]

Returns

A mapping with functions as keys and a sets of decorators as values.

get_rest_command_query()[source]

Returns rest’s command and query values.

Return type

dict[str, set[minos.networks.decorators.definitions.rest.RestEnrouteDecorator]]

Returns

A mapping with functions as keys and a sets of decorators as values.