cayu.collaboration.requests
Public Cayu API. Definitions are grouped by their public source module, and definitions from private implementation modules appear on their package’s page; adding a symbol does not move existing links. The import shown at each entry is a supported public namespace. Read the Python API overview and install the required extra.
CollaborationRequest
Section titled “CollaborationRequest”from cayu.collaboration import CollaborationRequestBases: ContractValue.
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 |
|---|---|---|
operation |
OperationRef |
required |
kind |
Literal['question', 'contribution'] |
required |
sender |
ParticipantRef |
required |
target |
ParticipantRef | RequestAlias |
required |
content |
str |
Field(max_length=8192) |
inputs |
tuple[ObjectRef, ...] |
Field(max_length=32) |
context_hint |
ObjectRef | None |
required |
delivery_contract |
ObjectRef |
required |
output_contract |
ObjectRef | None |
required |
independence_policy |
ObjectRef |
required |
disclosure_policy |
ObjectRef |
required |
ttl_ms |
Millis |
required |
cancellation |
Literal['detach', 'stop'] |
required |
bounded_input (method)
Section titled “bounded_input (method)”CollaborationRequest.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”CollaborationRequest.immutable_fields() -> ContractValueexact_intent (method)
Section titled “exact_intent (method)”CollaborationRequest.exact_intent() -> CollaborationRequestRelease source · Runtime guarantees · Capability guides
ProducerProgressCommand
Section titled “ProducerProgressCommand”from cayu.collaboration import ProducerProgressCommandOwner-produced native milestone, distinct from a caller’s export receipt.
Bases: RequestProgressCommand.
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 |
|---|---|---|
operation |
OperationRef |
required |
mode |
Literal['request_progress'] |
'request_progress' |
expected |
RequestCommand |
required |
expected_revision |
Generation |
required |
admission_generation |
Generation |
required |
publisher |
InitiatorBinding |
required |
sequence |
Generation |
required |
kind |
Literal['started', 'prepared', 'producing', 'published'] |
required |
commitment |
Identifier |
required |
source_receipt |
SessionExportReceipt | None |
None |
producer |
OperationRef |
required |
evidence |
ProducerProgressEvidence |
required |
bounded_input (method)
Section titled “bounded_input (method)”ProducerProgressCommand.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”ProducerProgressCommand.immutable_fields() -> ContractValueexact_namespace (method)
Section titled “exact_namespace (method)”ProducerProgressCommand.exact_namespace() -> RequestProgressCommandnative_progress (method)
Section titled “native_progress (method)”ProducerProgressCommand.native_progress()Release source · Runtime guarantees · Capability guides
RequestAdmissionCommand
Section titled “RequestAdmissionCommand”from cayu.collaboration import RequestAdmissionCommandAuthenticated receiving-owner admission decision.
Bases: ContractValue.
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 |
|---|---|---|
operation |
OperationRef |
required |
mode |
Literal['request_admission'] |
'request_admission' |
expected |
RequestCommand |
required |
expected_revision |
Generation |
required |
expected_input_revision |
Annotated[StrictInt, Field(ge=0, le=MAX_REQUEST_CLARIFICATIONS)] |
required |
expected_input_sha256 |
Annotated[StrictStr, Field(pattern='^[0-9a-f]{64}$')] |
required |
generation |
Generation |
required |
decision |
AdmissionDecision |
required |
proposal_commitment |
Identifier | None |
None |
source_export |
SessionExportRef | None |
None |
source_receipt |
SessionExportReceipt | None |
None |
evidence |
tuple[ObjectRef, ...] |
Field(max_length=32) |
initiator |
InitiatorBinding |
required |
prepared |
PreparedRecipientAdmission | None |
None |
bounded_input (method)
Section titled “bounded_input (method)”RequestAdmissionCommand.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”RequestAdmissionCommand.immutable_fields() -> ContractValueexact_admission (method)
Section titled “exact_admission (method)”RequestAdmissionCommand.exact_admission() -> RequestAdmissionCommandRelease source · Runtime guarantees · Capability guides
RequestAdmissionReceipt
Section titled “RequestAdmissionReceipt”from cayu.collaboration import RequestAdmissionReceiptBases: ContractValue.
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 |
|---|---|---|
command |
RequestAdmissionCommand |
required |
state |
AdmissionState |
required |
revision |
Generation |
required |
decided_at_ms |
Millis |
required |
event |
RequestEvent |
required |
admission_permit |
PermitReceipt | None |
None |
bounded_input (method)
Section titled “bounded_input (method)”RequestAdmissionReceipt.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”RequestAdmissionReceipt.immutable_fields() -> ContractValueexact_receipt (method)
Section titled “exact_receipt (method)”RequestAdmissionReceipt.exact_receipt() -> RequestAdmissionReceiptRelease source · Runtime guarantees · Capability guides
RequestAlias
Section titled “RequestAlias”from cayu.collaboration import RequestAliasOriginal addressing intent, resolved only during first acceptance.
Bases: ContractValue.
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 |
|---|---|---|
owner |
OwnerRef |
required |
alias |
Identifier |
required |
bounded_input (method)
Section titled “bounded_input (method)”RequestAlias.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”RequestAlias.immutable_fields() -> ContractValueRelease source · Runtime guarantees · Capability guides
RequestCommand
Section titled “RequestCommand”from cayu.collaboration import RequestCommandBases: ExpectedOperation[RequestIntent].
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 |
|---|---|---|
operation |
OperationRef |
required |
kind |
Literal['question', 'contribution'] |
required |
schema_version |
VersionOne |
1 |
mode |
Literal['request'] |
'request' |
source |
OwnerRef |
required |
destination |
OwnerRef |
required |
initiator |
InitiatorBinding |
required |
receipt_stage |
Literal['accepted'] |
'accepted' |
intent |
IntentT |
required |
bounded_input (method)
Section titled “bounded_input (method)”RequestCommand.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”RequestCommand.immutable_fields() -> ContractValueoperation_scope (method)
Section titled “operation_scope (method)”RequestCommand.operation_scope() -> ExpectedOperation[IntentT]exact_selection (method)
Section titled “exact_selection (method)”RequestCommand.exact_selection() -> RequestCommandRelease source · Runtime guarantees · Capability guides
RequestControl
Section titled “RequestControl”from cayu.collaboration import RequestControlBases: ContractValue.
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 |
|---|---|---|
operation |
OperationRef |
required |
expected |
RequestCommand |
required |
expected_revision |
Generation |
required |
kind |
Literal['cancel', 'expire'] |
required |
source_receipt |
SessionExportReceipt | None |
None |
bounded_input (method)
Section titled “bounded_input (method)”RequestControl.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”RequestControl.immutable_fields() -> ContractValueseparate_control (method)
Section titled “separate_control (method)”RequestControl.separate_control() -> RequestControlRelease source · Runtime guarantees · Capability guides
RequestControlCommand
Section titled “RequestControlCommand”from cayu.collaboration import RequestControlCommandBases: ExpectedOperation[RequestControl].
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 |
|---|---|---|
operation |
OperationRef |
required |
kind |
Literal['cancel', 'expire'] |
required |
schema_version |
VersionOne |
1 |
mode |
Literal['request_control'] |
'request_control' |
source |
OwnerRef |
required |
destination |
OwnerRef |
required |
initiator |
InitiatorBinding |
required |
receipt_stage |
Literal['elected'] |
'elected' |
intent |
IntentT |
required |
bounded_input (method)
Section titled “bounded_input (method)”RequestControlCommand.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”RequestControlCommand.immutable_fields() -> ContractValueoperation_scope (method)
Section titled “operation_scope (method)”RequestControlCommand.operation_scope() -> ExpectedOperation[IntentT]exact_control (method)
Section titled “exact_control (method)”RequestControlCommand.exact_control() -> RequestControlCommandRelease source · Runtime guarantees · Capability guides
RequestControlReceipt
Section titled “RequestControlReceipt”from cayu.collaboration import RequestControlReceiptBases: ContractValue.
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 |
|---|---|---|
expected |
RequestControlCommand |
required |
state |
Literal['cancelled', 'expired'] |
required |
revision |
Generation |
required |
elected_at_ms |
Millis |
required |
event |
RequestEvent |
required |
bounded_input (method)
Section titled “bounded_input (method)”RequestControlReceipt.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”RequestControlReceipt.immutable_fields() -> ContractValueexact_election (method)
Section titled “exact_election (method)”RequestControlReceipt.exact_election() -> RequestControlReceiptRelease source · Runtime guarantees · Capability guides
RequestDueCursor
Section titled “RequestDueCursor”from cayu.collaboration import RequestDueCursorPosition for current due inspection, not an observation or history pin.
Bases: ContractValue.
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 |
|---|---|---|
after |
Counter |
required |
bounded_input (method)
Section titled “bounded_input (method)”RequestDueCursor.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”RequestDueCursor.immutable_fields() -> ContractValueRelease source · Runtime guarantees · Capability guides
RequestDuePage
Section titled “RequestDuePage”from cayu.collaboration import RequestDuePageBases: ContractValue.
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 |
|---|---|---|
items |
tuple[RequestSnapshot, ...] |
Field(max_length=64) |
next_cursor |
RequestDueCursor | None |
required |
observed_at_ms |
Millis |
required |
bounded_input (method)
Section titled “bounded_input (method)”RequestDuePage.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”RequestDuePage.immutable_fields() -> ContractValueRelease source · Runtime guarantees · Capability guides
RequestEvent
Section titled “RequestEvent”from cayu.collaboration import RequestEventBases: ContractValue.
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 |
|---|---|---|
id |
Identifier |
required |
sequence |
Generation |
required |
operation |
OperationRef |
required |
request |
RequestRef |
required |
type |
Literal['request_accepted', 'request_admission', 'request_progress', 'request_answered', 'request_failed', 'request_declined', 'request_cancelled', 'request_expired', 'request_observation_registered', 'clarification_opened', 'clarification_replied', 'clarification_closed'] |
required |
participants |
tuple[ParticipantRef, ...] |
Field(min_length=1, max_length=2) |
bounded_input (method)
Section titled “bounded_input (method)”RequestEvent.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”RequestEvent.immutable_fields() -> ContractValuescope_matches (method)
Section titled “scope_matches (method)”RequestEvent.scope_matches() -> RequestEventRelease source · Runtime guarantees · Capability guides
RequestIntent
Section titled “RequestIntent”from cayu.collaboration import RequestIntentBases: ContractValue.
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 |
|---|---|---|
request |
CollaborationRequest |
required |
selection |
RequestSelection |
required |
limits |
CollaborationLimits |
required |
authority |
MandateResolution |
required |
bounded_input (method)
Section titled “bounded_input (method)”RequestIntent.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”RequestIntent.immutable_fields() -> ContractValueRelease source · Runtime guarantees · Capability guides
RequestObservation
Section titled “RequestObservation”from cayu.collaboration import RequestObservationFinite pull observation registration and its durable coverage frontier.
Bases: ContractValue.
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 |
|---|---|---|
key |
Identifier |
required |
filter_commitment |
Identifier |
required |
projection_commitment |
Identifier |
required |
after_sequence |
Counter |
required |
coverage_sequence |
Counter |
required |
revision |
Generation |
required |
retention_until_ms |
Millis | None |
None |
bounded_input (method)
Section titled “bounded_input (method)”RequestObservation.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”RequestObservation.immutable_fields() -> ContractValuevalid_frontier (method)
Section titled “valid_frontier (method)”RequestObservation.valid_frontier() -> RequestObservationRelease source · Runtime guarantees · Capability guides
RequestObservationPage
Section titled “RequestObservationPage”from cayu.collaboration import RequestObservationPageBounded source-owned readback at a current transactional frontier.
Registration is immutable; each read reconciles coverage with publication.
Bases: ContractValue.
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 |
|---|---|---|
registration |
RequestObservationReceipt |
required |
events |
tuple[RequestEvent, ...] |
Field(max_length=64) |
coverage_sequence |
Counter |
required |
complete |
bool |
required |
bounded_input (method)
Section titled “bounded_input (method)”RequestObservationPage.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”RequestObservationPage.immutable_fields() -> ContractValueexact_page (method)
Section titled “exact_page (method)”RequestObservationPage.exact_page() -> RequestObservationPageRelease source · Runtime guarantees · Capability guides
RequestObservationReceipt
Section titled “RequestObservationReceipt”from cayu.collaboration import RequestObservationReceiptBases: ContractValue.
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 |
|---|---|---|
mode |
Literal['request_observation'] |
'request_observation' |
operation |
OperationRef |
required |
expected |
RequestCommand |
required |
intent |
RequestObservation |
required |
initiator |
InitiatorBinding |
required |
request |
RequestRef |
required |
observation |
RequestObservation |
required |
event |
RequestEvent |
required |
bounded_input (method)
Section titled “bounded_input (method)”RequestObservationReceipt.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”RequestObservationReceipt.immutable_fields() -> ContractValueexact_receipt (method)
Section titled “exact_receipt (method)”RequestObservationReceipt.exact_receipt() -> RequestObservationReceiptRelease source · Runtime guarantees · Capability guides
RequestOutcomeCommand
Section titled “RequestOutcomeCommand”from cayu.collaboration import RequestOutcomeCommandAuthenticated answer/failure/decline election request.
Bases: ContractValue.
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 |
|---|---|---|
operation |
OperationRef |
required |
mode |
Literal['request_outcome'] |
'request_outcome' |
expected |
RequestCommand |
required |
expected_revision |
Generation |
required |
outcome |
RequestOutcomeKind |
required |
commitment |
Identifier | None |
None |
source_receipt |
SessionExportReceipt | None |
None |
initiator |
InitiatorBinding |
required |
bounded_input (method)
Section titled “bounded_input (method)”RequestOutcomeCommand.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”RequestOutcomeCommand.immutable_fields() -> ContractValueexact_outcome (method)
Section titled “exact_outcome (method)”RequestOutcomeCommand.exact_outcome() -> RequestOutcomeCommandRelease source · Runtime guarantees · Capability guides
RequestOutcomeReceipt
Section titled “RequestOutcomeReceipt”from cayu.collaboration import RequestOutcomeReceiptBases: ContractValue.
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 |
|---|---|---|
command |
RequestOutcomeCommand | ProducerOutcomeCommand |
required |
revision |
Generation |
required |
elected_at_ms |
Millis |
required |
event |
RequestEvent |
required |
bounded_input (method)
Section titled “bounded_input (method)”RequestOutcomeReceipt.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”RequestOutcomeReceipt.immutable_fields() -> ContractValueexact_receipt (method)
Section titled “exact_receipt (method)”RequestOutcomeReceipt.exact_receipt() -> RequestOutcomeReceiptRelease source · Runtime guarantees · Capability guides
RequestProgressCommand
Section titled “RequestProgressCommand”from cayu.collaboration import RequestProgressCommandOne authenticated, idempotent producer progress occurrence.
Bases: ContractValue.
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 |
|---|---|---|
operation |
OperationRef |
required |
mode |
Literal['request_progress'] |
'request_progress' |
expected |
RequestCommand |
required |
expected_revision |
Generation |
required |
admission_generation |
Generation |
required |
publisher |
InitiatorBinding |
required |
sequence |
Generation |
required |
kind |
Literal['started', 'prepared', 'producing', 'published'] |
required |
commitment |
Identifier |
required |
source_receipt |
SessionExportReceipt | None |
None |
bounded_input (method)
Section titled “bounded_input (method)”RequestProgressCommand.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”RequestProgressCommand.immutable_fields() -> ContractValueexact_namespace (method)
Section titled “exact_namespace (method)”RequestProgressCommand.exact_namespace() -> RequestProgressCommandRelease source · Runtime guarantees · Capability guides
RequestProgressReceipt
Section titled “RequestProgressReceipt”from cayu.collaboration import RequestProgressReceiptBases: ContractValue.
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 |
|---|---|---|
command |
ProducerProgressCommand | RequestProgressCommand |
required |
revision |
Generation |
required |
event |
RequestEvent |
required |
bounded_input (method)
Section titled “bounded_input (method)”RequestProgressReceipt.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”RequestProgressReceipt.immutable_fields() -> ContractValueexact_receipt (method)
Section titled “exact_receipt (method)”RequestProgressReceipt.exact_receipt() -> RequestProgressReceiptRelease source · Runtime guarantees · Capability guides
RequestReceipt
Section titled “RequestReceipt”from cayu.collaboration import RequestReceiptBases: ContractValue.
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 |
|---|---|---|
expected |
RequestCommand |
required |
event |
RequestEvent |
required |
bounded_input (method)
Section titled “bounded_input (method)”RequestReceipt.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”RequestReceipt.immutable_fields() -> ContractValueexact_receipt (method)
Section titled “exact_receipt (method)”RequestReceipt.exact_receipt() -> RequestReceiptRelease source · Runtime guarantees · Capability guides
RequestRef
Section titled “RequestRef”from cayu.collaboration import RequestRefBases: ContractValue.
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 |
|---|---|---|
owner |
OwnerRef |
required |
request_id |
Identifier |
required |
incarnation |
Identifier |
required |
bounded_input (method)
Section titled “bounded_input (method)”RequestRef.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”RequestRef.immutable_fields() -> ContractValueRelease source · Runtime guarantees · Capability guides
RequestSelection
Section titled “RequestSelection”from cayu.collaboration import RequestSelectionBases: ContractValue.
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 |
|---|---|---|
reference |
RequestRef |
required |
sender |
ParticipantSnapshot |
required |
recipient |
ParticipantSnapshot |
required |
accepted_at_ms |
Millis |
required |
expires_at_ms |
Millis |
required |
bounded_input (method)
Section titled “bounded_input (method)”RequestSelection.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”RequestSelection.immutable_fields() -> ContractValueRelease source · Runtime guarantees · Capability guides
RequestSnapshot
Section titled “RequestSnapshot”from cayu.collaboration import RequestSnapshotCurrent owner state, independently authenticated against immutable receipts.
Bases: ContractValue.
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 |
|---|---|---|
receipt |
RequestReceipt |
required |
permit |
PermitCommand |
required |
revision |
Generation |
required |
state |
Literal['open', 'answered', 'failed', 'declined', 'cancelled', 'expired'] |
required |
admission |
AdmissionState |
required |
delivery |
Literal['pending', 'excluded', 'published'] |
required |
terminal |
RequestControlReceipt | None |
required |
next_due_at_ms |
Counter |
required |
admission_generation |
Annotated[Generation, Field(ge=0)] |
0 |
admission_decision |
AdmissionDecision | None |
None |
admission_operation |
OperationRef | None |
None |
progress |
tuple[ProducerProgressReference | RequestProgressReceipt, ...] |
Field(default=(), max_length=64) |
outcome |
RequestOutcomeReceipt | None |
None |
observations |
tuple[RequestObservation, ...] |
Field(default=(), max_length=32) |
observation_revision |
Annotated[Generation, Field(ge=0)] |
0 |
event_sequences |
tuple[Generation, ...] |
Field(default=(), max_length=64) |
producer_operation |
OperationRef | None |
None |
producer_settlement |
OperationRef | None |
None |
clarification |
ClarificationFrontier |
Field(default_factory=ClarificationFrontier) |
bounded_input (method)
Section titled “bounded_input (method)”RequestSnapshot.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”RequestSnapshot.immutable_fields() -> ContractValuecoherent_state (method)
Section titled “coherent_state (method)”RequestSnapshot.coherent_state() -> RequestSnapshot