]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
repair / test repr() for DDL
authorIuri de Silvio <iuri.desilvio@channable.com>
Mon, 9 Oct 2023 12:21:01 +0000 (08:21 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 9 Oct 2023 12:26:32 +0000 (08:26 -0400)
commit3a42375d858bdc2654f396be5cb0caf4fc95904f
tree7d09c1bae19b0067f9243ad20e829cfe07e68d5f
parentc5d89aad3634a40e5d067c8df97bb7f775983e02
repair / test repr() for DDL

Fixed 2.0 regression where the :class:`.DDL` construct would no longer
``__repr__()`` due to the removed ``on`` attribute not being accommodated.
Pull request courtesy Iuri de Silvio.

Fixes: #10443
Closes: #10442
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/10442
Pull-request-sha: 76f0484091b6a35e5953b8d13f3c66c0b1baa9b0

Change-Id: Id49afd681a04e0f05014105b8f15fdb66e6594a0
doc/build/changelog/unreleased_20/10443.rst [new file with mode: 0644]
lib/sqlalchemy/sql/ddl.py
test/engine/test_ddlevents.py