noether.io.checkpoint.providers.s3_provider

Classes

S3Provider

Simple provider interface for checkpoint fetching (URI -> local path).

Module Contents

class noether.io.checkpoint.providers.s3_provider.S3Provider

Bases: noether.io.checkpoint.types.Provider

Simple provider interface for checkpoint fetching (URI -> local path).

scheme = 's3'
can_handle(uri)
Parameters:

uri (str)

Return type:

bool

estimate_size(uri)
Parameters:

uri (str)

Return type:

int | None

fetch(uri, destination_dir, *, compute_hash=True)
Parameters:
Return type:

tuple[pathlib.Path, str | None]