Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dask/dask
/ Foo
Class
Foo
dask/tests/test_context.py:40–45 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
38
39
40
class
Foo:
41
@globalmethod(key=
"f"
)
42
def
f():
# type: ignore[misc]
43
return
1
44
45
g = globalmethod(foo, key=
"g"
, falsey=bar)
46
47
48
def
test_globalmethod():
Callers
1
test_globalmethod
Function · 0.70
Calls
1
globalmethod
Function · 0.90
Tested by
1
test_globalmethod
Function · 0.56