Skip to content

Commit

Permalink
style: remove unnecesary punctuation
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud authored and kszucs committed Apr 7, 2022
1 parent 02d17da commit 18a06d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ibis/backends/base/sql/alchemy/query_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ def get_result(self):
elif jtype is ops.OuterJoin:
result = result.outerjoin(table, onclause, full=True)
elif jtype is ops.LeftSemiJoin:
result = sa.select([result]).where(
sa.exists(sa.select([1]).where(onclause))
result = result.select().where(
sa.exists(sa.select(1).where(onclause))
)
elif jtype is ops.LeftAntiJoin:
result = sa.select([result]).where(
~(sa.exists(sa.select([1]).where(onclause)))
result = result.select().where(
~sa.exists(sa.select(1).where(onclause))
)
else:
raise NotImplementedError(jtype)
Expand Down

0 comments on commit 18a06d3

Please sign in to comment.