MCPcopy Index your code
hub / github.com/bugy/script-server / set

Method set

src/react/properties.py:24–27  ·  view source on GitHub ↗
(self, new_value)

Source from the content-addressed store, hash-verified

22 self._observers.remove(observer)
23
24 def set(self, new_value):
25 if self.bound:
26 raise Exception('Failed to set value to bound property')
27 self._set_internal(new_value)
28
29 def _set_internal(self, new_value):
30 old_value = self._value

Callers 15

__set__Method · 0.45
updaterFunction · 0.45
set_all_param_valuesMethod · 0.45
_reloadMethod · 0.45
perform_executionMethod · 0.45
linesChangesMethod · 0.45
deleteTopLinesMethod · 0.45
updateTextStyleMethod · 0.45
terminal_model.jsFile · 0.45
ADD_INLINE_IMAGEFunction · 0.45
UPDATE_SINGLE_VALUEFunction · 0.45

Calls 1

_set_internalMethod · 0.95

Tested by 2

perform_executionMethod · 0.36