diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-03-23 22:05:22 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-03-24 12:35:53 -0400 |
| commit | da04aa577b6e539a6472df62ee39c4a51cca9dd9 (patch) | |
| tree | 7746c455c102e15397b11c565b302a5b81f19c51 /doc | |
| parent | 8acbc2624fb4b457e47fab93e6a44a1e37caeddc (diff) | |
| download | sqlalchemy-da04aa577b6e539a6472df62ee39c4a51cca9dd9.tar.gz | |
Fix boolean check in new path comparison logic
Fixed regression where a new error message that was supposed to raise when
attempting to link a relationship option to an AliasedClass without using
:meth:`.PropComparator.of_type` would instead raise an ``AttributeError``.
Note that in 1.3, it is no longer valid to create an option path from a
plain mapper relationship to an :class:`.AliasedClass` without using
:meth:`.PropComparator.of_type`.
Fixes: #4566
Change-Id: Ic547a1c8408e41aec66ef9644aac7f76f50dd064
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/build/changelog/unreleased_13/4566.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/build/changelog/unreleased_13/4566.rst b/doc/build/changelog/unreleased_13/4566.rst new file mode 100644 index 000000000..3fb1a49e8 --- /dev/null +++ b/doc/build/changelog/unreleased_13/4566.rst @@ -0,0 +1,10 @@ +.. change:: + :tags: bug, orm + :tickets: 4566 + + Fixed regression where a new error message that was supposed to raise when + attempting to link a relationship option to an AliasedClass without using + :meth:`.PropComparator.of_type` would instead raise an ``AttributeError``. + Note that in 1.3, it is no longer valid to create an option path from a + plain mapper relationship to an :class:`.AliasedClass` without using + :meth:`.PropComparator.of_type`. |
