File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1717)
1818from dask .array .utils import compute_meta
1919from dask .base import is_dask_collection
20+ from dask .blockwise import _blockwise_unpack_collections_task_spec
2021from dask .blockwise import blockwise as core_blockwise
21- from dask .delayed import unpack_collections
2222from dask .tokenize import tokenize
2323from dask .utils import cached_property , funcname
2424
@@ -142,7 +142,7 @@ def _layer(self):
142142 for arg , ind in arginds :
143143 if ind is None :
144144 arg = normalize_arg (arg )
145- arg , collections = unpack_collections (arg )
145+ arg , collections = _blockwise_unpack_collections_task_spec (arg )
146146 dependencies .extend (collections )
147147 else :
148148 if (
@@ -163,7 +163,7 @@ def _layer(self):
163163 kwargs2 = {}
164164 for k , v in self .kwargs .items ():
165165 v = normalize_arg (v )
166- v , collections = unpack_collections (v )
166+ v , collections = _blockwise_unpack_collections_task_spec (v )
167167 dependencies .extend (collections )
168168 kwargs2 [k ] = v
169169
You can’t perform that action at this time.
0 commit comments