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

Function f

dask/tests/test_highgraph.py:220–225  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

218 b2 = threading.Barrier(2)
219
220 def f(n):
221 with dask.annotate(foo=n):
222 b1.wait()
223 out = dask.get_annotations()
224 b2.wait()
225 return out
226
227 with ThreadPoolExecutor(2) as ex:
228 f1 = ex.submit(f, 1)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected