Skip to content

Commit

Permalink
Merge pull request #605 from myw/patch-1
Browse files Browse the repository at this point in the history
Make EmptyCriterion inherit from Criterion
  • Loading branch information
gl3nn authored Jun 16, 2021
2 parents 0db485d + 9b0b71e commit f961534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypika/terms.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ def get_sql(self) -> str:
raise NotImplementedError()


class EmptyCriterion:
class EmptyCriterion(Criterion):
is_aggregate = None
tables_ = set()

Expand Down

0 comments on commit f961534

Please sign in to comment.