diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-10-31 09:51:51 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-10-31 12:56:21 -0400 |
commit | 66f3533de86506327c753c1ea80b121692535745 (patch) | |
tree | 68e9563532474597a9b2e27b1e5bf0cfd0fbca66 /lib/sqlalchemy/sql/selectable.py | |
parent | af9d3ab9b8a0aaa43e9347fd251a087eebd71e1d (diff) | |
download | sqlalchemy-66f3533de86506327c753c1ea80b121692535745.tar.gz |
evaluate types in terms of the class in which they appear
Fixed issues within the declarative typing resolver (i.e. which resolves
``ForwardRef`` objects) where types that were declared for columns in one
particular source file would raise ``NameError`` when the ultimate mapped
class were in another source file. The types are now resolved in terms
of the module for each class in which the types are used.
Fixes: #8742
Change-Id: I236f94484ea79d47392a6201e671eeb89c305fd8
Diffstat (limited to 'lib/sqlalchemy/sql/selectable.py')
0 files changed, 0 insertions, 0 deletions