Skip to content

Commit

Permalink
chunkmanager doesn't use generic anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Illviljan committed Jul 9, 2024
1 parent 6cc75cc commit c2ee93c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion xarray/core/indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1325,7 +1325,7 @@ def _arrayize_vectorized_indexer(


def _chunked_array_with_chunks_hint(
array, chunks, chunkmanager: ChunkManagerEntrypoint[Any]
array, chunks, chunkmanager: ChunkManagerEntrypoint
):
"""Create a chunked array using the chunks hint for dimensions of size > 1."""

Expand Down
2 changes: 1 addition & 1 deletion xarray/core/variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -2526,7 +2526,7 @@ def chunk( # type: ignore[override]
name: str | None = None,
lock: bool | None = None,
inline_array: bool | None = None,
chunked_array_type: str | ChunkManagerEntrypoint[Any] | None = None,
chunked_array_type: str | ChunkManagerEntrypoint | None = None,
from_array_kwargs: Any = None,
**chunks_kwargs: Any,
) -> Self:
Expand Down
2 changes: 1 addition & 1 deletion xarray/namedarray/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ def sizes(self) -> dict[_Dim, _IntOrUnknown]:
def chunk(
self,
chunks: int | Literal["auto"] | Mapping[Any, None | int | tuple[int, ...]] = {},
chunked_array_type: str | ChunkManagerEntrypoint[Any] | None = None,
chunked_array_type: str | ChunkManagerEntrypoint | None = None,
from_array_kwargs: Any = None,
**chunks_kwargs: Any,
) -> Self:
Expand Down

0 comments on commit c2ee93c

Please sign in to comment.