

def peer_setup(self, rt, *peers, **kwargs):
    timeout = data.get('timeout', DEFAULT_TIMEOUT)
    async = kwargs.get('async', False)
    if (not isinstance(peers[0], type(''))):
        peers = peers[0]
    data = {
        'peers': peers,
    }
    r = self._post(rt, timeout, async, PEER_SETUP, data)
    return self.check_response(r)

dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/requests/request_handler.py RequestHandler.peer_setup/VarMisuse@20/22 `kwargs`->`data`