From: RamonWill Date: Thu, 23 Apr 2020 10:50:57 +0000 (+0100) Subject: changelog for issue 4212 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5232%2Fhead;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git changelog for issue 4212 --- diff --git a/doc/build/changelog/unreleased_14/4212.rst b/doc/build/changelog/unreleased_14/4212.rst new file mode 100644 index 0000000000..bdf9a67434 --- /dev/null +++ b/doc/build/changelog/unreleased_14/4212.rst @@ -0,0 +1,9 @@ +.. change:: + :tags: bug, easy, inheritance, orm + :tickets: 4212 + + An :class:`.ArgumentError` is now raised if both the selectable and flat + parameters are set to True in :func:`.orm.with_polymorphic`. + The selectable name is already aliased and applying flat=True + overrides the selectable name with an anonymous name that would've + previously caused the code to break. Pull request courtesy Ramon Williams.