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

Function f

dask/tests/test_expr.py:78–84  ·  view source on GitHub ↗
(expr)

Source from the content-addressed store, hash-verified

76 expr3.cached_property
77
78 def f(expr):
79 # We want the cache to be part of the pickle, i.e. this is a
80 # different process such that the type is reset and the property can
81 # be accessed without side effects
82 assert MyExprCachedProperty.called_cached_property is False
83 assert expr.cached_property == 3
84 assert MyExprCachedProperty.called_cached_property is False
85
86 await c.submit(f, expr)
87

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected