

def send_success(self):
    ' Utility for transmitting success to the client '
    succ = {
        'result': True,
        'error': None,
    }
    self.logger.debug('success response: {}'.format(succ))
    succ.write_queue.put((json.dumps(succ, separators=(',', ':')) + '\n'))

dataset/ETHPy150Open simplecrypto/powerpool/powerpool/agent_server.py AgentClient.send_success/VarMisuse@42/73 `self`->`succ`