Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ __getstate__
Method
__getstate__
dask/_task_spec.py:775–777 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
773
setattr(self, sl, val)
774
775
def
__getstate__(self):
776
slots = self.__class__.get_all_slots()
777
return
tuple(getattr(self, sl)
for
sl in slots)
778
779
@property
780
def
is_coro(self):
Callers
1
__getstate__
Method · 0.45
Calls
1
get_all_slots
Method · 0.80
Tested by
no test coverage detected