]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
keyword only arguments in ops
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 25 Nov 2022 15:31:20 +0000 (10:31 -0500)
committerFederico Caselli <cfederico87@gmail.com>
Thu, 11 May 2023 20:24:53 +0000 (22:24 +0200)
commitdf75e85489b9ae69fffff2c5ad2594b30bed2fd4
tree1669378a851faf81724f3d5e83ab63814cb43e3f
parent92e54a0e1c96cecd99397cb1aee9c3bb28f780c6
keyword only arguments in ops

Argument signatures of Alembic operations now enforce keyword-only
arguments as passed as keyword and not positionally, such as
:paramref:`.Operations.create_table.schema`,
:paramref:`.Operations.add_column.type_`, etc.

Change-Id: I91b453c8848dc5d24d63840bfd7ce4d22dd0e693
Fixes: #1130
alembic/op.pyi
alembic/operations/base.py
alembic/operations/ops.py
docs/build/unreleased/1130.rst [new file with mode: 0644]
tests/test_batch.py
tests/test_mssql.py
tests/test_mysql.py
tests/test_oracle.py
tests/test_postgresql.py