]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
The ``Enum.inherit_schema`` now defaults to true
authorFederico Caselli <cfederico87@gmail.com>
Sun, 23 Jun 2024 13:01:40 +0000 (15:01 +0200)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 27 May 2025 20:06:49 +0000 (16:06 -0400)
commit084761c090061c7b65e5c68a93df01e206ed824b
treec38d7db8a26be0edc442c80f50e83747ba7f36c6
parent15f551f250ba689fb12fb3d01275d452d4b815fc
The ``Enum.inherit_schema`` now defaults to true

Changed the default value of :paramref:`_types.Enum.inherit_schema` to
``True`` when :paramref:`_types.Enum.schema` and
:paramref:`_types.Enum.metadata` parameters are not provided.
The same behavior has been applied also to PostgreSQL
:class:`_postgresql.DOMAIN` type.

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