

def _parse_expression(self, node, alias_map, conv):
    if isinstance(node.lhs, Field):
        conv = node.lhs
    (lhs, lparams) = self.parse_node(node.lhs, alias_map, conv)
    (rhs, rparams) = self.parse_node(lhs.rhs, alias_map, conv)
    template = ('%s %s %s' if node.flat else '(%s %s %s)')
    sql = (template % (lhs, self.get_op(node.op), rhs))
    return (sql, (lparams + rparams))

dataset/ETHPy150Open coleifer/peewee/peewee.py QueryCompiler._parse_expression/VarMisuse@64/77 `node`->`lhs`