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.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sqlalchemy/orm/attributes.py b/lib/sqlalchemy/orm/attributes.py
index b8974196c..2f8c8f940 100644
--- a/lib/sqlalchemy/orm/attributes.py
+++ b/lib/sqlalchemy/orm/attributes.py
@@ -483,6 +483,7 @@ class InstrumentedAttribute(Mapped):
HasEntityNamespace = util.namedtuple(
"HasEntityNamespace", ["entity_namespace"]
)
+HasEntityNamespace.is_mapper = HasEntityNamespace.is_aliased_class = False
def create_proxied_attribute(descriptor):