NullCheckpoint#

class earth2studio.utils.checkpoint.NullCheckpoint[source]#

No-op checkpoint used when checkpointing is disabled.

property catalog: NullCheckpoint#

Catalog-like no-op handle for workflow checkpoint checks.

flush(**metadata)[source]#

Accept a flush request without committing anything.

Parameters:

metadata (Any)

Return type:

None

property is_active: bool#

Whether this checkpoint session is active in the current context.

property labels: Mapping[str, Any]#

Labels for the no-op session.

property metadata: Mapping[str, Any]#

Metadata for the no-op session.

write(**metadata)[source]#

Accept a checkpoint boundary without committing anything.

Parameters:

metadata (Any)

Return type:

None

property write_count: int#

Number of checkpoint writes accepted by the no-op session.