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)