

def __contains__(self, obj):
    pks = self.distinct_pks()
    if (isinstance(obj, list) or isinstance(obj, tuple)):
        obj_list = obj
    else:
        obj_list = [obj]
    for obj in obj_list:
        if (obj.pk not in obj_list):
            return False
    return True

dataset/ETHPy150Open adewes/blitzdb/blitzdb/backends/sql/queryset.py QuerySet.__contains__/VarMisuse@69/84 `pks`->`obj_list`