Skip to content

Commit

Permalink
add __slots__ definition for WhereRaw
Browse files Browse the repository at this point in the history
  • Loading branch information
dantownsend committed Feb 9, 2022
1 parent 1982742 commit b97a653
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions piccolo/columns/combination.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ class Undefined:


class WhereRaw(CombinableMixin):
__slots__ = ("querystring",)

def __init__(self, sql: str, *args: t.Any) -> None:
"""
Execute raw SQL queries in your where clause. Use with caution!
Expand Down

0 comments on commit b97a653

Please sign in to comment.