]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fix ForeignKeyConstraint.copy() error
authorGord Thompson <gord@gordthompson.com>
Thu, 29 Apr 2021 18:57:06 +0000 (12:57 -0600)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 29 Apr 2021 20:24:14 +0000 (16:24 -0400)
commit416fdb1674daf72ef215c6abfed3e08343f1e05e
treebec9e502bd7259280a5d42c6822e9d65980fcdd0
parent28493bf4bc35a4802b57b02a8b389cec7b6dcbb6
Fix ForeignKeyConstraint.copy() error

Fixed an issue with the (deprecated in 1.4)
:meth:`_schema.ForeignKeyConstraint.copy` method that caused an error when
invoked with the ``schema`` argument.

Fixes: #6353
Change-Id: I03330d9ec254d64377f2b2e86af69a4eaff43ac6
doc/build/changelog/unreleased_14/6353.rst [new file with mode: 0644]
lib/sqlalchemy/sql/schema.py
lib/sqlalchemy/util/compat.py
test/sql/test_deprecations.py