]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
changelog for issue 4212 5232/head
authorRamonWill <ramonwilliams@hotmail.co.uk>
Thu, 23 Apr 2020 10:50:57 +0000 (11:50 +0100)
committerRamonWill <ramonwilliams@hotmail.co.uk>
Thu, 23 Apr 2020 10:50:57 +0000 (11:50 +0100)
doc/build/changelog/unreleased_14/4212.rst [new file with mode: 0644]

diff --git a/doc/build/changelog/unreleased_14/4212.rst b/doc/build/changelog/unreleased_14/4212.rst
new file mode 100644 (file)
index 0000000..bdf9a67
--- /dev/null
@@ -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.