

def _state_predicate(self, params, query_params):
    if ('state' in params):
        state_list_string = ','.join((("'%s'" % state_list_string) for v in params['state']))
        return ('WHERE (%s) IN (%s)' % (shared.JobState.PROJECTION, state_list_string))

dataset/ETHPy150Open memsql/memsql-loader/memsql_loader/api/jobs.py Jobs._state_predicate/VarMisuse@33/46 `v`->`state_list_string`