MCPcopy
hub / github.com/bugy/script-server / on_add

Method on_add

src/model/script_config.py:264–268  ·  view source on GitHub ↗
(self, parameter, index)

Source from the content-addressed store, hash-verified

262 return None
263
264 def on_add(self, parameter, index):
265 if self.schedulable and parameter.secure:
266 LOGGER.warning(
267 'Disabling schedulable functionality, because parameter ' + parameter.str_name() + ' is secure')
268 self.schedulable = False
269
270 def on_remove(self, parameter):
271 pass

Callers 3

appendMethod · 0.45
insertMethod · 0.45
extendMethod · 0.45

Calls 1

str_nameMethod · 0.80

Tested by

no test coverage detected