Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ addstatic
Method
addstatic
dask/tests/test_delayed.py:778–779 ·
view source on GitHub ↗
(x, y)
Source
from the content-addressed store, hash-verified
776
@staticmethod
777
@delayed
778
def
addstatic(x, y):
779
return
x + y
780
781
a = A(100)
782
assert a.addmethod(3, 4).compute() == 107
Callers
1
test_delayed_decorator_on_method
Function · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected