Skip to content

Commit

Permalink
Multiple imports for an import name (#2361)
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos authored Oct 14, 2024
1 parent 016ec25 commit 243ee1b
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions src/zarr/abc/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

from abc import ABC, abstractmethod
from asyncio import gather
from collections.abc import AsyncGenerator, Iterable
from types import TracebackType
from typing import TYPE_CHECKING, Any, NamedTuple, Protocol, runtime_checkable
from typing import TYPE_CHECKING, NamedTuple, Protocol, runtime_checkable

if TYPE_CHECKING:
from collections.abc import AsyncGenerator, Iterable
Expand Down
2 changes: 0 additions & 2 deletions src/zarr/api/asynchronous.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

from zarr.abc.store import Store
from zarr.core.array import Array, AsyncArray, get_array_metadata
from zarr.core.buffer import NDArrayLike
from zarr.core.chunk_key_encodings import ChunkKeyEncoding
from zarr.core.common import (
JSON,
AccessModeLiteral,
Expand Down
1 change: 0 additions & 1 deletion src/zarr/storage/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from typing import TYPE_CHECKING, Any, Self

from zarr.abc.store import AccessMode, ByteRangeRequest, Store
from zarr.core.buffer import Buffer

if TYPE_CHECKING:
from collections.abc import AsyncGenerator, Generator, Iterable
Expand Down
1 change: 0 additions & 1 deletion tests/v3/test_indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1769,7 +1769,6 @@ async def test_accessed_chunks(
# chunks: chunk size
# ops: list of tuples with (optype, tuple of slices)
# optype = "__getitem__" or "__setitem__", tuple length must match number of dims
import itertools

# Use a counting dict as the backing store so we can track the items access
store = await CountingDict.open()
Expand Down

0 comments on commit 243ee1b

Please sign in to comment.