From 402d64663c77956da882a94a6e173b684d6b056a Mon Sep 17 00:00:00 2001 From: Waket Zheng Date: Wed, 8 May 2024 21:05:23 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Change=20sqlmodel=20imports=20to?= =?UTF-8?q?=20be=20relative?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sqlmodel/orm/session.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sqlmodel/orm/session.py b/sqlmodel/orm/session.py index e404bb137d..8265187329 100644 --- a/sqlmodel/orm/session.py +++ b/sqlmodel/orm/session.py @@ -17,10 +17,11 @@ from sqlalchemy.orm._typing import OrmExecuteOptionsParameter from sqlalchemy.sql._typing import _ColumnsClauseArgument from sqlalchemy.sql.base import Executable as _Executable -from sqlmodel.sql.base import Executable -from sqlmodel.sql.expression import Select, SelectOfScalar from typing_extensions import deprecated +from ..sql.base import Executable +from ..sql.expression import Select, SelectOfScalar + _TSelectParam = TypeVar("_TSelectParam", bound=Any)