From b97a6532d2d8a4a5f0c9fdb794f7d352844b8611 Mon Sep 17 00:00:00 2001 From: Daniel Townsend Date: Wed, 9 Feb 2022 22:36:58 +0000 Subject: [PATCH] add `__slots__` definition for `WhereRaw` --- piccolo/columns/combination.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/piccolo/columns/combination.py b/piccolo/columns/combination.py index aa7ac6cef..82668c3d8 100644 --- a/piccolo/columns/combination.py +++ b/piccolo/columns/combination.py @@ -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!