cayu.sessions.RuntimePublicationRequest
Part of cayu.sessions.base. Read the Python API overview and install the required extra.
from cayu.sessions import RuntimePublicationRequestImmutable input bundle for one logical model-step or tool-round publication.
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 |
|---|---|---|
publication_id |
str |
Field(max_length=256) |
kind |
RuntimePublicationKind |
required |
interaction_id |
str | None |
Field(default=None, max_length=256) |
intent |
dict[str, Any] |
required |
mutation |
RuntimePublicationMutation |
required |
transcript_messages |
tuple[Message, ...] |
required |
events |
tuple[Event, ...] |
required |
argument_continuity |
ArgumentContinuity | None |
Field(default=None, repr=False) |
operation_record_mutations |
tuple[RuntimePublicationOperationRecordMutation, ...] |
Field(default_factory=tuple) |
referenced_events |
tuple[RuntimePublicationEventReference, ...] |
Field(default_factory=tuple) |
validate_identity (method)
Section titled “validate_identity (method)”RuntimePublicationRequest.validate_identity(value: str, info) -> strcopy_argument_continuity (method)
Section titled “copy_argument_continuity (method)”RuntimePublicationRequest.copy_argument_continuity(value: ArgumentContinuity | dict[str, Any] | None) -> ArgumentContinuity | Nonevalidate_optional_interaction_id (method)
Section titled “validate_optional_interaction_id (method)”RuntimePublicationRequest.validate_optional_interaction_id(value: str | None) -> str | Nonecopy_intent (method)
Section titled “copy_intent (method)”RuntimePublicationRequest.copy_intent(value: dict[str, Any]) -> dict[str, Any]copy_mutation (method)
Section titled “copy_mutation (method)”RuntimePublicationRequest.copy_mutation(value: RuntimePublicationMutation | dict[str, Any]) -> RuntimePublicationMutationcopy_transcript_messages (method)
Section titled “copy_transcript_messages (method)”RuntimePublicationRequest.copy_transcript_messages(value) -> tuple[Message, ...]copy_events (method)
Section titled “copy_events (method)”RuntimePublicationRequest.copy_events(value) -> tuple[Event, ...]copy_operation_record_mutations (method)
Section titled “copy_operation_record_mutations (method)”RuntimePublicationRequest.copy_operation_record_mutations(value: object) -> tuple[RuntimePublicationOperationRecordMutation, ...]copy_referenced_events (method)
Section titled “copy_referenced_events (method)”RuntimePublicationRequest.copy_referenced_events(value) -> tuple[RuntimePublicationEventReference, ...]validate_batch_limits (method)
Section titled “validate_batch_limits (method)”RuntimePublicationRequest.validate_batch_limits() -> RuntimePublicationRequest