File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 44
55from abc import ABC , abstractmethod
66from collections .abc import Container , Iterator
7- from typing import Any , Optional , Union
7+ from typing import Any , Optional , Union , TypeAlias
88
99from xcube .constants import EXTENSION_POINT_DATA_STORES
1010from xcube .util .extension import Extension , ExtensionPredicate , ExtensionRegistry
@@ -691,7 +691,7 @@ def deregister_data(self, data_id: str):
691691 """
692692
693693
694- class PreloadedDataStore (DataStore ):
694+ class Preloaded (DataStore ):
695695 """A preload data store is a multable data store which contains the preload handle.
696696 This class solely acts as a protocol description or marker interface for `DataStore`
697697 instances returned from another data store's `preload_data` method.
@@ -715,3 +715,6 @@ def preload_handle(self) -> PreloadHandle:
715715 Implementors of this interface may use a `ExecutorPreloadHandle` or consider
716716 returning a `NullPreloadHandle` if the progress is not observable.
717717 """
718+
719+
720+ PreloadedDataStore : TypeAlias = DataStore | Preloaded
You can’t perform that action at this time.
0 commit comments