minos.networks.decorators.collectors

Classes

EnrouteCollector

Search decorators in specified class

class EnrouteCollector[source]

Bases: object

Search decorators in specified class

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

Returns rest’s command and query values.

Returns

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

Return type

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

get_broker_command_query_event()[source]

Returns broker’s command, query and event values.

Returns

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

Return type

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

get_broker_command_query()[source]

Returns broker’s command and query values.

Returns

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

Return type

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

get_broker_event()[source]

Returns broker’s event values.

Returns

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

Return type

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

get_periodic_event()[source]

Returns periodic event values.

Returns

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

Return type

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

get_all()[source]

Get all functions decorated with enroute decorators.

Returns

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

Return type

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