MCPcopy
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
40class 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
48def test_globalmethod():

Callers 1

test_globalmethodFunction · 0.70

Calls 1

globalmethodFunction · 0.90

Tested by 1

test_globalmethodFunction · 0.56