Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ f
Function
f
dask/tests/test_distributed.py:443–447 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
441
442
def
test_local_scheduler():
443
async
def
f():
444
x = dask.delayed(inc)(1)
445
y = x + 1
446
z = await y.persist()
447
assert len(z.dask) == 1
448
449
asyncio.run(f())
450
Callers
1
test_local_scheduler
Function · 0.70
Calls
1
persist
Method · 0.45
Tested by
no test coverage detected