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

Method __dask_graph__

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

Source from the content-addressed store, hash-verified

176def test_is_dask_collection_uses_expr_without_materializing():
177 class AbstractExpr(LiteralExpr):
178 def __dask_graph__(self):
179 raise AssertionError("must not materialize")
180
181 assert is_dask_collection(AbstractExpr("a", 1))
182

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected