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

Function f

dask/tests/test_threaded.py:72–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70@pytest.mark.parametrize("pool_typ", [ThreadPool, ThreadPoolExecutor])
71def test_pool_kwarg(pool_typ):
72 def f():
73 sleep(0.01)
74 return threading.get_ident()
75
76 dsk = {("x", i): (f,) for i in range(30)}
77 dsk["x"] = (len, (set, [("x", i) for i in range(len(dsk))]))

Callers

nothing calls this directly

Calls 1

getFunction · 0.90

Tested by

no test coverage detected