

def verify_naive(self):
    model_class = self.model_class
    for node in self._select:
        if (isinstance(node, Field) and (node.model_class != model_class)):
            return False
        elif (isinstance(self, Node) and (node._bind_to is not None)):
            if (node._bind_to != model_class):
                return False
    return True

dataset/ETHPy150Open coleifer/peewee/peewee.py SelectQuery.verify_naive/VarMisuse@53/67 `node`->`self`