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

Method __getattr__

dask/array/_array_expr/_ufunc.py:100–103  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

98 return self.__name__, normalize_token(self._ufunc)
99
100 def __getattr__(self, key):
101 if key in self._forward_attrs:
102 return getattr(self._ufunc, key)
103 raise AttributeError(f"{type(self).__name__!r} object has no attribute {key!r}")
104
105 def __dir__(self):
106 return list(self._forward_attrs.union(dir(type(self)), self.__dict__))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected