Skip to content

Commit 1eff9ce

Browse files
committed
change back to mutable store
1 parent 1c2440d commit 1eff9ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xcube/core/store/store.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def new_data_store(
2828
data_store_id: str,
2929
extension_registry: Optional[ExtensionRegistry] = None,
3030
**data_store_params,
31-
) -> Union["DataStore", "MutableDataStore"]:
31+
) -> Union["DataStore", "MutableDataStore", "PreloadDataStore"]:
3232
"""Create a new data store instance for given
3333
*data_store_id* and *data_store_params*.
3434
@@ -691,7 +691,7 @@ def deregister_data(self, data_id: str):
691691
"""
692692

693693

694-
class PreloadDataStore(DataStore):
694+
class PreloadDataStore(MutableDataStore):
695695
"""A preload data store is a multable data store which contains the preload handle.
696696
697697
Instances of this class are returned by the ``DataStore.preload_data()`` method.

0 commit comments

Comments
 (0)