

def _paging(self, params, query_params):
    if ('page_size' in query_params):
        offset = ((params['page'] - 1) * params['page_size'])
        return ('LIMIT %s, %s' % (offset, params['page_size']))

dataset/ETHPy150Open memsql/memsql-loader/memsql_loader/api/jobs.py Jobs._paging/VarMisuse@18/27 `params`->`query_params`