MCPcopy Create free account
hub / github.com/dask/dask / __init__

Method __init__

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

Source from the content-addressed store, hash-verified

868 __slots__ = ("_obj", "_attr")
869
870 def __init__(self, obj, attr):
871 key = "getattr-%s" % tokenize(obj, attr, pure=True)
872 super().__init__(key, None)
873 self._obj = obj
874 self._attr = attr
875
876 def __getattr__(self, attr):
877 # 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