Skip to content

CheckpointInfo

Checkpoint metadata returned by the Runta API.

Shared

class CheckpointInfo:
CheckpointInfo(id: str, display_name: str, resources: RuntimeResources, state: CheckpointState)
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.

Create checkpoint metadata from an API response payload.

def from_json(data: dict[str, Any]) -> 'CheckpointInfo'
Name Type Default Description
data dict[str, Any] API response payload.
  • 'CheckpointInfo'