Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add comprehensive type annotations for chunks parameter
  • Loading branch information
omarwael-24 committed May 29, 2026
commit c02491f5f70be4be3e891754198aab765dfb29ec
2 changes: 1 addition & 1 deletion dask/array/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -3467,7 +3467,7 @@ def _get_chunk_shape(a):

def from_array(
x,
chunks: str | tuple[int, ...] | list[int] = "auto",
chunks: str | tuple[int, ...] | list[int] | dict[Any, Any] | int = "auto",
name: str | None = None,
lock=False,
asarray=None,
Expand Down