]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
fix stringify for CreateSchema
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 24 Jan 2023 20:34:27 +0000 (15:34 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 24 Jan 2023 20:35:43 +0000 (15:35 -0500)
commit2c3372f6c03c7d15325cad08c9fd6d08c68fa2fd
tree5b3d982aa0d52ef74abe5f0cbf6accfce4044610
parent102114accc5a7caf76629c4c2ab108ddbfcbe81a
fix stringify for CreateSchema

Fixed stringify for a the :class:`.CreateSchema` DDL construct, which would
fail with an ``AttributeError`` when stringified without a dialect.

Fixes: #7664
Change-Id: Ifc1769604bc5219c060f5112f7bdea0f780f1a1c
(cherry picked from commit 90f4b5d84f248d95f3df38e74be92b23fd880e42)
doc/build/changelog/unreleased_14/7664.rst [new file with mode: 0644]
lib/sqlalchemy/sql/ddl.py
lib/sqlalchemy/testing/assertions.py
test/sql/test_metadata.py