CheckpointInfo
Checkpoint metadata returned by the Runta API.
Shared
CheckpointInfo declaration
Section titled “CheckpointInfo declaration”class CheckpointInfo:CheckpointInfo construction
Section titled “CheckpointInfo construction”CheckpointInfo(id: str, display_name: str, resources: RuntimeResources, state: CheckpointState)CheckpointInfo attributes
Section titled “CheckpointInfo attributes”| Name | Type or value | Description |
|---|---|---|
id |
str |
Checkpoint UUID. |
display_name |
str |
Human-readable checkpoint name. |
resources |
RuntimeResources |
Resources captured by the checkpoint. |
state |
CheckpointState |
Current checkpoint creation state. |
CheckpointInfo methods
Section titled “CheckpointInfo methods”from_json()
Section titled “from_json()”Create checkpoint metadata from an API response payload.
def from_json(data: dict[str, Any]) -> 'CheckpointInfo'Parameters
Section titled “Parameters”| Name | Type | Default | Description |
|---|---|---|---|
data |
dict[str, Any] |
— |
API response payload. |
Returns
Section titled “Returns”'CheckpointInfo'
