minos.cqrs.handlers
Classes
Pre Event Handler class. |
- class PreEventHandler[source]
Bases:
object
Pre Event Handler class.
- async classmethod handle(diff, resolve_references=False, **kwargs)[source]
Handle Ref resolution for Events.
- Parameters
diff (T) – The instance containing
Ref
instances.resolve_references (bool) – If
True
the resolution is performed, otherwise it is skipped.kwargs – Additional named arguments.
- Returns
The original instance with the
Ref
references already resolved.- Return type
T