diff options
Diffstat (limited to 'lib/sqlalchemy/sql/selectable.py')
| -rw-r--r-- | lib/sqlalchemy/sql/selectable.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/sql/selectable.py b/lib/sqlalchemy/sql/selectable.py index 2c898e835..591086a46 100644 --- a/lib/sqlalchemy/sql/selectable.py +++ b/lib/sqlalchemy/sql/selectable.py @@ -542,7 +542,7 @@ class FromClause(roles.FromClauseRole, Selectable): operator.add, [ sc._annotations.get("weight", 1) - for sc in col.proxy_set + for sc in col._uncached_proxy_set() if sc.shares_lineage(column) ], ) @@ -550,7 +550,7 @@ class FromClause(roles.FromClauseRole, Selectable): operator.add, [ sc._annotations.get("weight", 1) - for sc in c.proxy_set + for sc in c._uncached_proxy_set() if sc.shares_lineage(column) ], ) |
