summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/attributes.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/orm/attributes.py')
-rw-r--r--lib/sqlalchemy/orm/attributes.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqlalchemy/orm/attributes.py b/lib/sqlalchemy/orm/attributes.py
index bf07061c6..6dd95a5a9 100644
--- a/lib/sqlalchemy/orm/attributes.py
+++ b/lib/sqlalchemy/orm/attributes.py
@@ -59,6 +59,8 @@ class QueryableAttribute(
interfaces.InspectionAttr,
interfaces.PropComparator,
roles.JoinTargetRole,
+ roles.OnClauseRole,
+ sql_base.Immutable,
sql_base.MemoizedHasCacheKey,
):
"""Base class for :term:`descriptor` objects that intercept