diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-07-16 13:02:16 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-07-17 10:42:05 -0400 |
commit | 234723fa296c9fa7ac63f1c4d877edc7ba120edd (patch) | |
tree | 103309417ca72507e5e951a81e7cc083a75395b6 /lib/sqlalchemy/orm/dynamic.py | |
parent | 1a9f5754e088ff521bf41bddc42b32ec989a8877 (diff) | |
download | sqlalchemy-234723fa296c9fa7ac63f1c4d877edc7ba120edd.tar.gz |
Intercept unresolveable comparator attrbute error for attr access
Fixed bug where a synonym created against a mapped attribute that does not
exist yet, as is the case when it refers to backref before mappers are
configured, would raise recursion errors when trying to test for attributes
on it which ultimately don't exist (as occurs when the classes are run
through Sphinx autodoc), as the unconfigured state of the synonym would put
it into an attribute not found loop.
Fixes: #4767
Change-Id: I9aade8628349fbf538181a0049416cec0a17179c
Diffstat (limited to 'lib/sqlalchemy/orm/dynamic.py')
0 files changed, 0 insertions, 0 deletions