emmi_data_management.checkpoint.types¶
Classes¶
Simple provider interface for checkpoint fetching (URI -> local path). |
Module Contents¶
- class emmi_data_management.checkpoint.types.CheckpointMetadata¶
-
- local_path: pathlib.Path¶
- class emmi_data_management.checkpoint.types.Provider¶
Bases:
ProtocolSimple provider interface for checkpoint fetching (URI -> local path).
- fetch(uri, destination_dir, *, compute_hash=True)¶
- Parameters:
uri (str)
destination_dir (pathlib.Path)
compute_hash (bool)
- Return type:
tuple[pathlib.Path, str | None]