

def dumps(params, methodname=None, methodresponse=None, encoding=None, allow_none=0):
    if methodname:
        request = {
            
        }
        request['method'] = request
        request['params'] = params
        request['id'] = _gen_id()
        return json.dumps(request)

dataset/ETHPy150Open circuits/circuits/tests/web/jsonrpclib.py dumps/VarMisuse@43/52 `methodname`->`request`