satorbis_kit.pgstac.uploader.base module

Abstract definitions for STAC raster upload helpers.

class satorbis_kit.pgstac.uploader.base.AbstractRasterUploadHandler[source]

Bases: ABC

Defines how to build remote paths for raster uploads.

abstractmethod build_remote_path(collection: str, filename: str, subfolder: str | None = None) str[source]

Return the remote object path (excluding bucket) for a raster.