cayu.sessions.EnqueueSessionMessageResult
Part of cayu.sessions.base. Read the Python API overview and install the required extra.
from cayu.sessions import EnqueueSessionMessageResultTyped enqueue result, including the durable acceptance event.
Bases: BaseModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
message |
SessionQueuedMessage |
required |
event |
Event |
required |
replayed |
StrictBool |
False |
copy_message (method)
Section titled “copy_message (method)”EnqueueSessionMessageResult.copy_message(value: SessionQueuedMessage) -> SessionQueuedMessagecopy_event (method)
Section titled “copy_event (method)”EnqueueSessionMessageResult.copy_event(value: Event) -> Event