async def gui_modification(self, **kwargs):
    loaded = self.AgentSchema(only=('group', 'trusted', 'sleep_min', 'sleep_max', 'watchdog')).load(kwargs)
    for (k, v) in loaded.items():
        self.update(k, v)
async def gui_modification(self, **kwargs):
    loaded = self.AgentSchema(only=('group', 'trusted', 'sleep_min', 'sleep_max', 'watchdog')).load(kwargs)
    for (k, v) in loaded.items():
        self.update(k, v)