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

Method __set__

dask/utils.py:2059–2061  ·  view source on GitHub ↗

Raise an error when attempting to set a cached property.

(self, instance, val)

Source from the content-addressed store, hash-verified

2057 """Read only version of functools.cached_property."""
2058
2059 def __set__(self, instance, val):
2060 """Raise an error when attempting to set a cached property."""
2061 raise AttributeError("Can't set attribute")
2062
2063
2064class _HashIdWrapper:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected