Skip to content

CheckpointInfo

Checkpoint metadata returned by the Runta API.

Shared

class CheckpointInfo:
CheckpointInfo(id: str, display_name: str, resources: RuntimeResources, state: CheckpointState)
NameType or valueDescription
idstrCheckpoint UUID.
display_namestrHuman-readable checkpoint name.
resourcesRuntimeResourcesResources captured by the checkpoint.
stateCheckpointStateCurrent checkpoint creation state.

Create checkpoint metadata from an API response payload.

def from_json(data: dict[str, Any]) -> 'CheckpointInfo'
NameTypeDefaultDescription
datadict[str, Any]API response payload.
  • 'CheckpointInfo'