cayu.collaboration.participants
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.
CollaborationBootstrap
Section titled “CollaborationBootstrap”from cayu.collaboration import CollaborationBootstrapBases: 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 |
|---|---|---|
application_scope |
Identifier |
required |
provisioning_scope |
Identifier |
required |
owner_name |
Identifier |
required |
limits |
CollaborationLimits |
required |
version |
VersionOne |
1 |
bounded_input (method)
Section titled “bounded_input (method)”CollaborationBootstrap.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”CollaborationBootstrap.immutable_fields() -> ContractValueRelease source · Runtime guarantees · Capability guides
CollaborationCapacityExceeded
Section titled “CollaborationCapacityExceeded”from cayu.collaboration import CollaborationCapacityExceededNew admission would exceed retained-state capacity.
Bases: RuntimeError.
This type’s implementation and inherited behavior are available in the linked release source.
Release source · Runtime guarantees · Capability guides
CollaborationInitialization
Section titled “CollaborationInitialization”from cayu.collaboration import CollaborationInitializationBases: 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 |
|---|---|---|
binding |
CollaborationBootstrap |
required |
owner |
OwnerRef |
required |
namespace_incarnation |
Identifier |
required |
generation |
VersionOne |
1 |
bounded_input (method)
Section titled “bounded_input (method)”CollaborationInitialization.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”CollaborationInitialization.immutable_fields() -> ContractValuebound_owner (method)
Section titled “bound_owner (method)”CollaborationInitialization.bound_owner() -> CollaborationInitializationoperation (method)
Section titled “operation (method)”CollaborationInitialization.operation(caller_key: str) -> OperationRefRelease source · Runtime guarantees · Capability guides
CollaborationLimits
Section titled “CollaborationLimits”from cayu.collaboration import CollaborationLimitsFinite, immutable bootstrap limits; reserved controls cannot be borrowed.
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 |
|---|---|---|
participants |
Generation |
required |
aliases |
Generation |
required |
operations |
Generation |
required |
events |
Generation |
required |
retained_bytes |
Generation |
required |
control_operations |
Generation |
required |
control_events |
Generation |
required |
control_bytes |
Generation |
required |
namespaces |
Generation |
required |
generations |
Generation |
required |
obligations |
Generation |
required |
bounded_input (method)
Section titled “bounded_input (method)”CollaborationLimits.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”CollaborationLimits.immutable_fields() -> ContractValuecontrol_reserves_fit (method)
Section titled “control_reserves_fit (method)”CollaborationLimits.control_reserves_fit() -> CollaborationLimitsRelease source · Runtime guarantees · Capability guides
CollaborationNotInitialized
Section titled “CollaborationNotInitialized”from cayu.collaboration import CollaborationNotInitializedExplicit collaboration initialization has not completed.
Bases: RuntimeError.
This type’s implementation and inherited behavior are available in the linked release source.
Release source · Runtime guarantees · Capability guides
CollaborationUnavailable
Section titled “CollaborationUnavailable”from cayu.collaboration import CollaborationUnavailableAuthoritative collaboration evidence or configuration is unavailable.
Bases: RuntimeError.
This type’s implementation and inherited behavior are available in the linked release source.
Release source · Runtime guarantees · Capability guides
ParticipantAlias
Section titled “ParticipantAlias”from cayu.collaboration import ParticipantAliasBases: 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 |
|---|---|---|
alias |
Identifier |
required |
target |
ParticipantRef |
required |
revision |
Generation |
required |
bounded_input (method)
Section titled “bounded_input (method)”ParticipantAlias.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”ParticipantAlias.immutable_fields() -> ContractValueRelease source · Runtime guarantees · Capability guides
ParticipantAliasChange
Section titled “ParticipantAliasChange”from cayu.collaboration import ParticipantAliasChangeBases: 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 |
alias |
Identifier |
required |
expected_alias_revision |
Counter |
required |
expected_target |
ParticipantRef | None |
required |
target |
ParticipantRef | None |
required |
kind |
Literal['alias'] |
'alias' |
bounded_input (method)
Section titled “bounded_input (method)”ParticipantAliasChange.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”ParticipantAliasChange.immutable_fields() -> ContractValuechanges_binding (method)
Section titled “changes_binding (method)”ParticipantAliasChange.changes_binding() -> ParticipantAliasChangeRelease source · Runtime guarantees · Capability guides
ParticipantCommand
Section titled “ParticipantCommand”from cayu.collaboration import ParticipantCommandIdentity-family controls are closed schema, not caller-authored text.
Bases: ExpectedOperation[ParticipantIntent].
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['create', 'configure', 'alias'] |
required |
schema_version |
VersionOne |
1 |
mode |
Literal['identity'] |
'identity' |
source |
OwnerRef |
required |
destination |
OwnerRef |
required |
initiator |
InitiatorBinding |
required |
receipt_stage |
Literal['committed'] |
'committed' |
intent |
IntentT |
required |
bounded_input (method)
Section titled “bounded_input (method)”ParticipantCommand.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”ParticipantCommand.immutable_fields() -> ContractValueoperation_scope (method)
Section titled “operation_scope (method)”ParticipantCommand.operation_scope() -> ExpectedOperation[IntentT]Release source · Runtime guarantees · Capability guides
ParticipantConfiguration
Section titled “ParticipantConfiguration”from cayu.collaboration import ParticipantConfigurationBases: 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 |
|---|---|---|
definition |
ParticipantConfigurationRef |
required |
routing |
ParticipantConfigurationRef |
required |
admission |
ParticipantConfigurationRef |
required |
bounded_input (method)
Section titled “bounded_input (method)”ParticipantConfiguration.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”ParticipantConfiguration.immutable_fields() -> ContractValueRelease source · Runtime guarantees · Capability guides
ParticipantConfigurationRef
Section titled “ParticipantConfigurationRef”from cayu.collaboration import ParticipantConfigurationRefApplication-registered version, not executable serialized configuration.
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 |
|---|---|---|
name |
Identifier |
required |
version |
Generation |
required |
bounded_input (method)
Section titled “bounded_input (method)”ParticipantConfigurationRef.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”ParticipantConfigurationRef.immutable_fields() -> ContractValueRelease source · Runtime guarantees · Capability guides
ParticipantConfigure
Section titled “ParticipantConfigure”from cayu.collaboration import ParticipantConfigureBases: 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 |
participant |
ParticipantRef |
required |
expected_configuration_revision |
Generation |
required |
configuration |
ParticipantConfiguration |
required |
kind |
Literal['configure'] |
'configure' |
bounded_input (method)
Section titled “bounded_input (method)”ParticipantConfigure.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”ParticipantConfigure.immutable_fields() -> ContractValueRelease source · Runtime guarantees · Capability guides
ParticipantCreate
Section titled “ParticipantCreate”from cayu.collaboration import ParticipantCreateBases: 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 |
configuration |
ParticipantConfiguration |
required |
alias |
Identifier | None |
None |
expected_alias_revision |
Counter |
0 |
kind |
Literal['create'] |
'create' |
bounded_input (method)
Section titled “bounded_input (method)”ParticipantCreate.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”ParticipantCreate.immutable_fields() -> ContractValueabsent_alias (method)
Section titled “absent_alias (method)”ParticipantCreate.absent_alias() -> ParticipantCreateRelease source · Runtime guarantees · Capability guides
ParticipantCursor
Section titled “ParticipantCursor”from cayu.collaboration import ParticipantCursorBases: 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 |
|---|---|---|
scope |
Identifier |
required |
principal |
Identifier |
required |
allowed |
tuple[ParticipantRef, ...] | None |
required |
after_id |
Identifier |
required |
bounded_input (method)
Section titled “bounded_input (method)”ParticipantCursor.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”ParticipantCursor.immutable_fields() -> ContractValueRelease source · Runtime guarantees · Capability guides
ParticipantEvent
Section titled “ParticipantEvent”from cayu.collaboration import ParticipantEventBases: 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 | None |
required |
type |
Literal['initialized', 'created', 'configured', 'alias_changed', 'namespace_sealed', 'namespace_rotated', 'namespace_retired', 'namespace_pruned', 'participant_lifecycle_changed', 'permit_registered', 'permit_settled', 'permit_excluded'] |
required |
participants |
tuple[ParticipantRef, ...] |
Field(max_length=2) |
bounded_input (method)
Section titled “bounded_input (method)”ParticipantEvent.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”ParticipantEvent.immutable_fields() -> ContractValueevent_shape (method)
Section titled “event_shape (method)”ParticipantEvent.event_shape() -> ParticipantEventRelease source · Runtime guarantees · Capability guides
ParticipantEventCursor
Section titled “ParticipantEventCursor”from cayu.collaboration import ParticipantEventCursorBases: 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 |
|---|---|---|
scope |
Identifier |
required |
principal |
Identifier |
required |
allowed |
tuple[ParticipantRef, ...] | None |
required |
after_sequence |
Counter |
required |
retention_revision |
Generation |
required |
bounded_input (method)
Section titled “bounded_input (method)”ParticipantEventCursor.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”ParticipantEventCursor.immutable_fields() -> ContractValueRelease source · Runtime guarantees · Capability guides
ParticipantEventPage
Section titled “ParticipantEventPage”from cayu.collaboration import ParticipantEventPageBases: 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 |
|---|---|---|
events |
tuple[ParticipantEvent, ...] |
Field(max_length=64) |
next_cursor |
ParticipantEventCursor | None |
required |
retention_revision |
Generation |
required |
history_complete |
StrictBool |
required |
bounded_input (method)
Section titled “bounded_input (method)”ParticipantEventPage.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”ParticipantEventPage.immutable_fields() -> ContractValueretained_history (method)
Section titled “retained_history (method)”ParticipantEventPage.retained_history() -> ParticipantEventPageRelease source · Runtime guarantees · Capability guides
ParticipantInspection
Section titled “ParticipantInspection”from cayu.collaboration import ParticipantInspectionBases: 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 |
|---|---|---|
participant |
ParticipantSnapshot |
required |
alias_revision |
Counter |
required |
issued_permit_frontier |
Counter |
required |
outstanding_obligations |
Counter |
required |
settlement |
Literal['settled', 'unsettled'] |
required |
bounded_input (method)
Section titled “bounded_input (method)”ParticipantInspection.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”ParticipantInspection.immutable_fields() -> ContractValuepositive_settlement (method)
Section titled “positive_settlement (method)”ParticipantInspection.positive_settlement() -> ParticipantInspectionRelease source · Runtime guarantees · Capability guides
ParticipantIntent
Section titled “ParticipantIntent”from cayu.collaboration import ParticipantIntentBases: 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 |
ParticipantMutation |
required |
limits |
CollaborationLimits |
required |
bounded_input (method)
Section titled “bounded_input (method)”ParticipantIntent.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”ParticipantIntent.immutable_fields() -> ContractValueRelease source · Runtime guarantees · Capability guides
ParticipantPage
Section titled “ParticipantPage”from cayu.collaboration import ParticipantPageBases: 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 |
|---|---|---|
participants |
tuple[ParticipantSnapshot, ...] |
Field(max_length=64) |
next_cursor |
ParticipantCursor | None |
required |
bounded_input (method)
Section titled “bounded_input (method)”ParticipantPage.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”ParticipantPage.immutable_fields() -> ContractValueRelease source · Runtime guarantees · Capability guides
ParticipantReceipt
Section titled “ParticipantReceipt”from cayu.collaboration import ParticipantReceiptBases: 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 |
ParticipantCommand |
required |
participants |
tuple[ParticipantSnapshot, ...] |
Field(max_length=2) |
alias |
ParticipantAlias | None |
required |
alias_revision |
Counter |
required |
event |
ParticipantEvent |
required |
bounded_input (method)
Section titled “bounded_input (method)”ParticipantReceipt.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”ParticipantReceipt.immutable_fields() -> ContractValueexact_result (method)
Section titled “exact_result (method)”ParticipantReceipt.exact_result() -> ParticipantReceiptRelease source · Runtime guarantees · Capability guides
ParticipantRef
Section titled “ParticipantRef”from cayu.collaboration import ParticipantRefBases: 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 |
participant_id |
Identifier |
required |
incarnation |
Identifier |
required |
bounded_input (method)
Section titled “bounded_input (method)”ParticipantRef.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”ParticipantRef.immutable_fields() -> ContractValueRelease source · Runtime guarantees · Capability guides
ParticipantSnapshot
Section titled “ParticipantSnapshot”from cayu.collaboration import ParticipantSnapshotBases: 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 |
ParticipantRef |
required |
configuration |
ParticipantConfiguration |
required |
configuration_revision |
Generation |
required |
lifecycle |
Literal['active', 'draining', 'disabled', 'retired'] |
'active' |
lifecycle_revision |
Generation |
1 |
admission_generation |
Generation |
1 |
covered_permit_frontier |
Counter |
0 |
control_policy |
Literal['settle_registered'] |
'settle_registered' |
bounded_input (method)
Section titled “bounded_input (method)”ParticipantSnapshot.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”ParticipantSnapshot.immutable_fields() -> ContractValue