diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2021-04-28 22:50:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@ci3.zzzcomputing.com> | 2021-04-28 22:50:31 +0000 |
commit | 474b22dd7b522d0d1f543bbbf09dc9ad636dc43b (patch) | |
tree | c1e168012ca3944234885c9cf2c9b853e35ae54f /lib/sqlalchemy/orm/attributes.py | |
parent | 6efcddf36db76f074b4eb3e0c05c877047b1713f (diff) | |
parent | 41ac0c7187daed54b0ba44b2287b6679d95d2caa (diff) | |
download | sqlalchemy-474b22dd7b522d0d1f543bbbf09dc9ad636dc43b.tar.gz |
Merge "add optional proxy_class to track w/ proxy_key"
Diffstat (limited to 'lib/sqlalchemy/orm/attributes.py')
-rw-r--r-- | lib/sqlalchemy/orm/attributes.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sqlalchemy/orm/attributes.py b/lib/sqlalchemy/orm/attributes.py index 0c7bc4cf0..b8974196c 100644 --- a/lib/sqlalchemy/orm/attributes.py +++ b/lib/sqlalchemy/orm/attributes.py @@ -227,6 +227,7 @@ class QueryableAttribute( else: annotations = { "proxy_key": self.key, + "proxy_owner": self.class_, "entity_namespace": self._entity_namespace, } |