MCPcopy Create free account
hub / github.com/dask/dask / __dask_exprs__

Method __dask_exprs__

dask/tests/test_composite_expr.py:200–201  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

198 # must fall back to __dask_graph__ rather than report "not a collection".
199 class LegacyWrapper(LegacyTuple):
200 def __dask_exprs__(self):
201 return ("not-an-expr",)
202
203 assert is_dask_collection(LegacyWrapper({"x": 1}, ["x"]))
204

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected