Skip to content

Commit 6dd60e2

Browse files
committed
Fix obsstore import
1 parent 8942e10 commit 6dd60e2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/zarr/storage/_obstore.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
from collections.abc import Iterable
88
from typing import TYPE_CHECKING, Any, Generic, TypedDict, TypeVar
99

10-
from obstore.store import ObjectStore as _UpstreamObjectStore
11-
1210
from zarr.abc.store import (
1311
ByteRequest,
1412
OffsetByteRequest,
@@ -24,6 +22,7 @@
2422
from typing import Any
2523

2624
from obstore import ListResult, ListStream, ObjectMeta, OffsetRange, SuffixRange
25+
from obstore.store import ObjectStore as _UpstreamObjectStore
2726

2827
from zarr.core.buffer import Buffer, BufferPrototype
2928
from zarr.core.common import BytesLike
@@ -37,7 +36,7 @@
3736
NotADirectoryError,
3837
)
3938

40-
T_Store = TypeVar("T_Store", bound=_UpstreamObjectStore)
39+
T_Store = TypeVar("T_Store", bound="_UpstreamObjectStore")
4140

4241

4342
class ObjectStore(Store, Generic[T_Store]):

0 commit comments

Comments
 (0)