event_routing_backends.processors.mixins package#
Submodules#
event_routing_backends.processors.mixins.base_transformer module#
event_routing_backends.processors.mixins.base_transformer_processor module#
Base Processor Mixin for transformer processors.
- class event_routing_backends.processors.mixins.base_transformer_processor.BaseTransformerProcessorMixin#
Bases:
objectBase Processor Mixin for transformer processors.
This mixin is used to transform events into any standard format and then route those events to configured endpoints.
- get_transformed_event(event)#
Transform the event using the class’s registry.
Making this a separate method so that subclasses can override this method if those class want to do it some other way.
- Parameters:
event (dict) – Event to be transformed.
- Returns:
transformed event
- Return type:
ANY
- Raises:
NoTransformerImplemented –
- registry = None#