Skip to content

cayu.sessions.SessionBudgetInspection

Part of cayu.sessions.base. Read the Python API overview and install the required extra.

from cayu.sessions import SessionBudgetInspection

Availability of durable budget and price-ledger evidence.

Bases: BaseModel.

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
event_count StrictInt Field(ge=0, le=MAX_DURABLE_JSON_INTEGER)
reservation_count StrictInt Field(ge=0, le=MAX_DURABLE_JSON_INTEGER)
reconciliation_count StrictInt Field(ge=0, le=MAX_DURABLE_JSON_INTEGER)
pending_reservation_count StrictInt Field(ge=0, le=MAX_DURABLE_JSON_INTEGER)
completed_unsettled_reservation_count StrictInt Field(ge=0, le=MAX_DURABLE_JSON_INTEGER)
reconciled_reservation_count StrictInt Field(ge=0, le=MAX_DURABLE_JSON_INTEGER)
conservative_reconciliation_count StrictInt Field(ge=0, le=MAX_DURABLE_JSON_INTEGER)
released_reservation_count StrictInt Field(ge=0, le=MAX_DURABLE_JSON_INTEGER)
cost_state Literal['unknown', 'unpriced', 'partial', 'mixed_currency', 'priced'] required
amount str | None None
currency str | None None

Release source · Runtime guarantees · Capability guides