MCPcopy Index your code
hub / github.com/LabPy/lantz / _set

Function _set

lantz/driver.py:196–200  ·  view source on GitHub ↗
(inst, feat_name, feat_attr)

Source from the content-addressed store, hash-verified

194_REGISTERED = defaultdict(int)
195
196def _set(inst, feat_name, feat_attr):
197 def _inner(value, *args):
198 proxy = inst.feats[feat_name]
199 setattr(proxy, feat_attr, value)
200 return _inner
201
202def _raise_must_change(dependent, feat_name, operation):
203 def _inner(value):

Callers 1

__new__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected