From b671ffdb33554c4965af8e31058eb47119e9510c Mon Sep 17 00:00:00 2001 From: farahats9 Date: Fri, 31 Mar 2023 12:58:30 +0200 Subject: [PATCH] Update sqlmodel/sql/expression.py Co-authored-by: Stefan Borer --- sqlmodel/sql/expression.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sqlmodel/sql/expression.py b/sqlmodel/sql/expression.py index f473ba4..10776e9 100644 --- a/sqlmodel/sql/expression.py +++ b/sqlmodel/sql/expression.py @@ -22,8 +22,7 @@ from sqlalchemy.sql.expression import Select as _Select _TSelect = TypeVar("_TSelect") - -class Select(_Select, Generic[_TSelect]): +class Select(_Select[_TSelect], Generic[_TSelect]): inherit_cache = True