cayu.snapshots.AgentSnapshotClosureInspection
Part of cayu.snapshots.base. Read the Python API overview and install the required extra.
from cayu.snapshots import AgentSnapshotClosureInspectionBases: _SnapshotModel.
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 |
|---|---|---|
snapshot |
AgentSnapshotRef |
required |
root_manifest_bytes |
StrictInt |
Field(ge=1) |
logical_closure_bytes |
StrictInt |
Field(ge=1) |
unique_stored_bytes |
StrictInt |
Field(ge=0) |
shared_bytes |
StrictInt |
Field(ge=0) |
object_count |
StrictInt |
Field(ge=1) |
node_digests |
tuple[StrictStr, ...] |
required |
unresolved_external_bindings |
tuple[StrictStr, ...] |
() |
validate_node_digests_input (method)
Section titled “validate_node_digests_input (method)”AgentSnapshotClosureInspection.validate_node_digests_input(value: object) -> objectvalidate_unresolved (method)
Section titled “validate_unresolved (method)”AgentSnapshotClosureInspection.validate_unresolved(value: object) -> tuple[str, ...]validate_metrics (method)
Section titled “validate_metrics (method)”AgentSnapshotClosureInspection.validate_metrics() -> AgentSnapshotClosureInspection