maybe_create_object_store_from_uri#
- composer.utils.maybe_create_object_store_from_uri(uri)[source]#
- Automatically creates an - composer.utils.ObjectStorefrom supported URI formats.- Currently supported backends are - s3://,- oci://, and local paths (in which case- Nonewill be returned)- Parameters
- uri (str) โ The path to (maybe) create an - composer.utils.ObjectStorefrom
- Raises
- NotImplementedError โ Raises when the URI format is not supported. 
- Returns
- Optional[ObjectStore] โ Returns an - composer.utils.ObjectStoreif the URI is of a supported format, otherwise None