Skip to content

utils.checkpoint.NullCheckpoint

Import path: earth2studio.utils.checkpoint.NullCheckpoint

View source on GitHub

Documentation

No-op checkpoint used when checkpointing is disabled.

metadata property

metadata: Mapping[str, Any]

Metadata for the no-op session.

labels property

labels: Mapping[str, Any]

Labels for the no-op session.

write_count property writable

write_count: int

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

is_active property

is_active: bool

Whether this checkpoint session is active in the current context.

catalog property

catalog: NullCheckpoint

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

write

write(**metadata: Any) -> None

Accept a checkpoint boundary without committing anything.

flush

flush(**metadata: Any) -> None

Accept a flush request without committing anything.