Skip to content

Commit

Permalink
Update dataset.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Illviljan committed Jul 9, 2024
1 parent 7a659f2 commit 7ddef25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xarray/core/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@
T_Xarray,
)
from xarray.core.weighted import DatasetWeighted
from xarray.namedarray._typing import duckarray
from xarray.namedarray.parallelcompat import ChunkManagerEntrypoint


Expand Down Expand Up @@ -860,7 +861,7 @@ def load(self, **kwargs) -> Self:
chunkmanager = get_chunked_array_type(*lazy_data.values())

# evaluate all the chunked arrays simultaneously
evaluated_data: tuple[np.ndarray[Any, Any], ...] = chunkmanager.compute(
evaluated_data: tuple[duckarray[Any, Any], ...] = chunkmanager.compute(
*lazy_data.values(), **kwargs
)

Expand Down

0 comments on commit 7ddef25

Please sign in to comment.