MCPcopy Create free account
hub / github.com/LabPy/lantz / __getattr__

Method __getattr__

lantz/action.py:208–214  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

206 super().__setattr__('action', action)
207
208 def __getattr__(self, item):
209 modifiers = _dget(self.action.modifiers, self.instance)
210
211 if item not in modifiers:
212 raise AttributeError()
213
214 return modifiers[item]
215
216 def __setattr__(self, item, value):
217 _modifiers = _dget(self.action.modifiers, MISSING)

Callers

nothing calls this directly

Calls 1

_dgetFunction · 0.70

Tested by

no test coverage detected