MCPcopy
hub / github.com/apache/caldera / gui_modification

Method gui_modification

app/objects/c_agent.py:216–219  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

214 self.update('executors', kwargs.get('executors'))
215
216 async def gui_modification(self, **kwargs):
217 loaded = AgentFieldsSchema(only=('group', 'trusted', 'sleep_min', 'sleep_max', 'watchdog', 'pending_contact')).load(kwargs)
218 for k, v in loaded.items():
219 self.update(k, v)
220
221 async def kill(self):
222 self.update('watchdog', 1)

Callers 1

update_agent_dataMethod · 0.80

Calls 3

AgentFieldsSchemaClass · 0.85
updateMethod · 0.80
loadMethod · 0.45

Tested by

no test coverage detected