MCPcopy
hub / github.com/celery/celery / __get__

Method __get__

celery/utils/objects.py:136–139  ·  view source on GitHub ↗
(self, obj, type=None)

Source from the content-addressed store, hash-verified

134 else obj)
135
136 def __get__(self, obj, type=None):
137 if obj is None:
138 return type
139 return self._path(obj).get(self.key)
140
141 def __set__(self, obj, value):
142 self._path(obj)[self.key] = value

Callers

nothing calls this directly

Calls 2

_pathMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected