cayu.collaboration.releases
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.
ContentExposure
Section titled “ContentExposure”from cayu.collaboration import ContentExposureA declared input occurrence; its release owner must authenticate provenance.
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 |
|---|---|---|
source |
ObjectRef |
required |
channel |
InputChannel |
required |
commitment |
ContentDigest |
required |
bounded_input (method)
Section titled “bounded_input (method)”ContentExposure.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”ContentExposure.immutable_fields() -> ContractValuepinned_source (method)
Section titled “pinned_source (method)”ContentExposure.pinned_source() -> ContentExposureRelease source · Runtime guarantees · Capability guides
ContentReleaseExpectation
Section titled “ContentReleaseExpectation”from cayu.collaboration import ContentReleaseExpectationComplete release input resolved by the source owner, without draft bytes.
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 |
|---|---|---|
request |
ContentReleaseRequest |
required |
source_owner |
OwnerRef |
required |
session_id |
Identifier |
required |
session_instance_id |
Identifier |
required |
source_indices |
tuple[ReleaseSourceIndex, ...] |
Field(max_length=16) |
audience |
OwnerRef |
required |
validator |
ObjectRef |
required |
policy |
ObjectRef |
required |
bounded_input (method)
Section titled “bounded_input (method)”ContentReleaseExpectation.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”ContentReleaseExpectation.immutable_fields() -> ContractValueexact_selection (method)
Section titled “exact_selection (method)”ContentReleaseExpectation.exact_selection() -> ContentReleaseExpectationRelease source · Runtime guarantees · Capability guides
ContentReleaseReader
Section titled “ContentReleaseReader”from cayu.collaboration import ContentReleaseReaderBases: ABC.
ref (property)
Section titled “ref (property)”ContentReleaseReader.ref() -> ObjectRefExact versioned registered decision-reader/validator configuration.
acquire (method)
Section titled “acquire (method)”ContentReleaseReader.acquire(expected: ContentReleaseExpectation) -> AbstractAsyncContextManager[ReleasedContent]Authenticate exact reviewed bytes and all exposure/source authority.
This must load positive review evidence from its application-owned source, not echo a caller proposal as approval. Hold current revocation through publication/exposure. Failure or missing evidence must refuse. No model calls, implicit review, semantic DLP promise or mutable regeneration.
Release source · Runtime guarantees · Capability guides
ContentReleaseReceipt
Section titled “ContentReleaseReceipt”from cayu.collaboration import ContentReleaseReceiptHistorical authenticated review evidence; no current disclosure grant.
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 |
|---|---|---|
expected |
ContentReleaseExpectation |
required |
reviewer |
InitiatorBinding |
required |
authorization_revision |
Generation |
required |
expires_at_ms |
Expiry |
required |
bounded_input (method)
Section titled “bounded_input (method)”ContentReleaseReceipt.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”ContentReleaseReceipt.immutable_fields() -> ContractValueexact_issuer (method)
Section titled “exact_issuer (method)”ContentReleaseReceipt.exact_issuer() -> ContentReleaseReceiptRelease source · Runtime guarantees · Capability guides
ContentReleaseRequest
Section titled “ContentReleaseRequest”from cayu.collaboration import ContentReleaseRequestPublic reference to an approval, not an approval or bearer capability.
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 |
|---|---|---|
unordered_fields |
class attribute |
frozenset({'exposure'}) |
decision |
ObjectRef |
required |
source_commitment |
ContentDigest |
required |
text_commitment |
ContentDigest |
required |
exposure |
tuple[ContentExposure, ...] |
Field(max_length=16) |
bounded_input (method)
Section titled “bounded_input (method)”ContentReleaseRequest.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”ContentReleaseRequest.immutable_fields() -> ContractValuepinned_decision (method)
Section titled “pinned_decision (method)”ContentReleaseRequest.pinned_decision() -> ContentReleaseRequestRelease source · Runtime guarantees · Capability guides
ReleasedContent
Section titled “ReleasedContent”from cayu.collaboration import ReleasedContentBases: 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 |
ContentReleaseReceipt |
required |
text |
Annotated[StrictStr, Field(max_length=8192)] |
required |
bounded_input (method)
Section titled “bounded_input (method)”ReleasedContent.bounded_input(value: object) -> Anyimmutable_fields (method)
Section titled “immutable_fields (method)”ReleasedContent.immutable_fields() -> ContractValue