]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Fix type annotations in create_foreign_key (#1430)
authorkasium <15907922+kasium@users.noreply.github.com>
Thu, 22 Feb 2024 19:31:30 +0000 (20:31 +0100)
committerGitHub <noreply@github.com>
Thu, 22 Feb 2024 19:31:30 +0000 (20:31 +0100)
commit88769c545439336bec7379dc77f7e6f70d83d1ea
tree8b9dbdb419040c289ccb763b809aa148c82d0f18
parenta22d21a43c2eb7a12944377168727ed76a51aaa9
Fix type annotations in create_foreign_key (#1430)

The constraint name parameter of create_foreign_key should be optional, but the batch function
defined it as str instead of Optional[str].

Closes #1429
alembic/operations/base.py
alembic/operations/ops.py