maybe_create_remote_uploader_downloader_from_uri#

composer.utils.maybe_create_remote_uploader_downloader_from_uri(uri, loggers)[source]#

Automatically creates a composer.loggers.RemoteUploaderDownloader from supported URI formats.

Currently supported backends are s3://, oci://, and local paths (in which case None will be returned)

Parameters
Raises

NotImplementedError โ€“ Raises when the URI format is not supported.

Returns

Optional[RemoteUploaderDownloader] โ€“ Returns a composer.loggers.RemoteUploaderDownloader if the URI is of a supported format, otherwise None