Skip to content

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.

from cayu.collaboration import CollaborationBootstrap

Bases: ContractValue.

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
CollaborationBootstrap.bounded_input(value: object) -> Any
CollaborationBootstrap.immutable_fields() -> ContractValue

Release source · Runtime guarantees · Capability guides

from cayu.collaboration import CollaborationCapacityExceeded

New 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

from cayu.collaboration import CollaborationInitialization

Bases: ContractValue.

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
CollaborationInitialization.bounded_input(value: object) -> Any
CollaborationInitialization.immutable_fields() -> ContractValue
CollaborationInitialization.bound_owner() -> CollaborationInitialization
CollaborationInitialization.operation(caller_key: str) -> OperationRef

Release source · Runtime guarantees · Capability guides

from cayu.collaboration import CollaborationLimits

Finite, immutable bootstrap limits; reserved controls cannot be borrowed.

Bases: ContractValue.

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
CollaborationLimits.bounded_input(value: object) -> Any
CollaborationLimits.immutable_fields() -> ContractValue
CollaborationLimits.control_reserves_fit() -> CollaborationLimits

Release source · Runtime guarantees · Capability guides

from cayu.collaboration import CollaborationNotInitialized

Explicit 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

from cayu.collaboration import CollaborationUnavailable

Authoritative 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

from cayu.collaboration import ParticipantAlias

Bases: ContractValue.

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
ParticipantAlias.bounded_input(value: object) -> Any
ParticipantAlias.immutable_fields() -> ContractValue

Release source · Runtime guarantees · Capability guides

from cayu.collaboration import ParticipantAliasChange

Bases: ContractValue.

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'
ParticipantAliasChange.bounded_input(value: object) -> Any
ParticipantAliasChange.immutable_fields() -> ContractValue
ParticipantAliasChange.changes_binding() -> ParticipantAliasChange

Release source · Runtime guarantees · Capability guides

from cayu.collaboration import ParticipantCommand

Identity-family controls are closed schema, not caller-authored text.

Bases: ExpectedOperation[ParticipantIntent].

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
ParticipantCommand.bounded_input(value: object) -> Any
ParticipantCommand.immutable_fields() -> ContractValue
ParticipantCommand.operation_scope() -> ExpectedOperation[IntentT]

Release source · Runtime guarantees · Capability guides

from cayu.collaboration import ParticipantConfiguration

Bases: ContractValue.

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
ParticipantConfiguration.bounded_input(value: object) -> Any
ParticipantConfiguration.immutable_fields() -> ContractValue

Release source · Runtime guarantees · Capability guides

from cayu.collaboration import ParticipantConfigurationRef

Application-registered version, not executable serialized configuration.

Bases: ContractValue.

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
ParticipantConfigurationRef.bounded_input(value: object) -> Any
ParticipantConfigurationRef.immutable_fields() -> ContractValue

Release source · Runtime guarantees · Capability guides

from cayu.collaboration import ParticipantConfigure

Bases: ContractValue.

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'
ParticipantConfigure.bounded_input(value: object) -> Any
ParticipantConfigure.immutable_fields() -> ContractValue

Release source · Runtime guarantees · Capability guides

from cayu.collaboration import ParticipantCreate

Bases: ContractValue.

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'
ParticipantCreate.bounded_input(value: object) -> Any
ParticipantCreate.immutable_fields() -> ContractValue
ParticipantCreate.absent_alias() -> ParticipantCreate

Release source · Runtime guarantees · Capability guides

from cayu.collaboration import ParticipantCursor

Bases: ContractValue.

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
ParticipantCursor.bounded_input(value: object) -> Any
ParticipantCursor.immutable_fields() -> ContractValue

Release source · Runtime guarantees · Capability guides

from cayu.collaboration import ParticipantEvent

Bases: ContractValue.

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)
ParticipantEvent.bounded_input(value: object) -> Any
ParticipantEvent.immutable_fields() -> ContractValue
ParticipantEvent.event_shape() -> ParticipantEvent

Release source · Runtime guarantees · Capability guides

from cayu.collaboration import ParticipantEventCursor

Bases: ContractValue.

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
ParticipantEventCursor.bounded_input(value: object) -> Any
ParticipantEventCursor.immutable_fields() -> ContractValue

Release source · Runtime guarantees · Capability guides

from cayu.collaboration import ParticipantEventPage

Bases: ContractValue.

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
ParticipantEventPage.bounded_input(value: object) -> Any
ParticipantEventPage.immutable_fields() -> ContractValue
ParticipantEventPage.retained_history() -> ParticipantEventPage

Release source · Runtime guarantees · Capability guides

from cayu.collaboration import ParticipantInspection

Bases: ContractValue.

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
ParticipantInspection.bounded_input(value: object) -> Any
ParticipantInspection.immutable_fields() -> ContractValue
ParticipantInspection.positive_settlement() -> ParticipantInspection

Release source · Runtime guarantees · Capability guides

from cayu.collaboration import ParticipantIntent

Bases: ContractValue.

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
ParticipantIntent.bounded_input(value: object) -> Any
ParticipantIntent.immutable_fields() -> ContractValue

Release source · Runtime guarantees · Capability guides

from cayu.collaboration import ParticipantPage

Bases: ContractValue.

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
ParticipantPage.bounded_input(value: object) -> Any
ParticipantPage.immutable_fields() -> ContractValue

Release source · Runtime guarantees · Capability guides

from cayu.collaboration import ParticipantReceipt

Bases: ContractValue.

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
ParticipantReceipt.bounded_input(value: object) -> Any
ParticipantReceipt.immutable_fields() -> ContractValue
ParticipantReceipt.exact_result() -> ParticipantReceipt

Release source · Runtime guarantees · Capability guides

from cayu.collaboration import ParticipantRef

Bases: ContractValue.

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
ParticipantRef.bounded_input(value: object) -> Any
ParticipantRef.immutable_fields() -> ContractValue

Release source · Runtime guarantees · Capability guides

from cayu.collaboration import ParticipantSnapshot

Bases: ContractValue.

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'
ParticipantSnapshot.bounded_input(value: object) -> Any
ParticipantSnapshot.immutable_fields() -> ContractValue

Release source · Runtime guarantees · Capability guides