]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
dont stringify uq deferrable
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 26 Feb 2025 14:09:51 +0000 (09:09 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 26 Feb 2025 14:09:51 +0000 (09:09 -0500)
commit36231bcda74dbeb54d50d0395fafcb3abd779272
tree06b746f87e86780a19bc8bd773e588726bdf323a
parent4ecf4ad0b4fd576d8d280825308dc3a642c248f8
dont stringify uq deferrable

Fixed autogenerate rendering bug where the ``deferrable`` element of
``UniqueConstraint``, a bool, were being stringified rather than repr'ed
when generating Python code.

Fixes: #1613
Change-Id: I24bf7f3542566994559144c08cde2766d9ff4fe1
alembic/autogenerate/render.py
docs/build/unreleased/1613.rst [new file with mode: 0644]
tests/test_autogen_render.py