diff options
Diffstat (limited to 'lib/sqlalchemy/orm/attributes.py')
-rw-r--r-- | lib/sqlalchemy/orm/attributes.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sqlalchemy/orm/attributes.py b/lib/sqlalchemy/orm/attributes.py index 2c77111c1..89beedc47 100644 --- a/lib/sqlalchemy/orm/attributes.py +++ b/lib/sqlalchemy/orm/attributes.py @@ -70,6 +70,7 @@ from .base import PASSIVE_RETURN_NO_VALUE from .base import PassiveFlag from .base import RELATED_OBJECT_OK # noqa from .base import SQL_OK # noqa +from .base import SQLORMExpression from .base import state_str from .. import event from .. import exc @@ -131,8 +132,8 @@ SelfQueryableAttribute = TypeVar( @inspection._self_inspects class QueryableAttribute( - roles.ExpressionElementRole[_T], _DeclarativeMapped[_T], + SQLORMExpression[_T], interfaces.InspectionAttr, interfaces.PropComparator[_T], roles.JoinTargetRole, |