Context
Bases: BaseModel
Extensible context object for event metadata.
Designed to carry correlation and causation identifiers, and can be extended with additional metadata fields as needed. This allows for flexible propagation of context information throughout event processing and handling pipelines.
Attributes:
| Name | Type | Description |
|---|---|---|
correlation_id |
UUID | None
|
Identifier for correlating related events. |
causation_id |
UUID | None
|
Identifier for the cause of the event. |
Additional fields can be added dynamically due to extra="allow".