def prepare_queryset_kwargs(self, field, value, negate):
        # only use 'in' or 'nin' if multiple values are specified
        if ',' in value:
            value = value.split(',')
            op = negate and 'nin' or self.op
        else:
            op = negate and 'ne' or ''
        return {'__'.join(filter(None, [field, op])): value}
dataset/ETHPy150Open closeio/flask-mongorest/flask_mongorest/operators.py/In.prepare_queryset_kwargs/original