MCPcopy
hub / github.com/dask/dask / __init__

Method __init__

dask/delayed.py:867–871  ·  view source on GitHub ↗
(self, obj, attr)

Source from the content-addressed store, hash-verified

865 __slots__ = ("_obj", "_attr")
866
867 def __init__(self, obj, attr):
868 key = f"getattr-{tokenize(obj, attr, pure=True)}"
869 super().__init__(key, None)
870 self._obj = obj
871 self._attr = attr
872
873 def __getattr__(self, attr):
874 # Calling np.dtype(dask.delayed(...)) used to result in a segfault, as

Callers

nothing calls this directly

Calls 2

tokenizeFunction · 0.70
__init__Method · 0.45

Tested by

no test coverage detected