]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
have SchemaType inherit schema from metadata
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 27 Apr 2021 17:09:04 +0000 (13:09 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 27 Apr 2021 17:13:52 +0000 (13:13 -0400)
commit70c51bbe5e0c0f7feb4695b2a38140ec53282c27
treeb06d41d3e299c3e848b6ace6e773b9284291cbf9
parentcf329ec33153307968828b46a4466850ebcf374e
have SchemaType inherit schema from metadata

Fixed very old issue where the :class:`_types.Enum` datatype would not
inherit the :paramref:`_schema.MetaData.schema` parameter of a
:class:`_schema.MetaData` object when that object were passed to the
:class:`_types.Enum` using :paramref:`_types.Enum.metadata`.

Fixes: #6373
Change-Id: Ie77d5e8cbc0bd7bfd0039fb60a4a0bde2df58ca9
doc/build/changelog/unreleased_14/6373.rst [new file with mode: 0644]
lib/sqlalchemy/sql/sqltypes.py
test/dialect/postgresql/test_types.py
test/sql/test_metadata.py