Closed kasium closed 7 months ago
Hi,
Indeed it seems to be a bug, since the normal create_fk has it optional: https://github.com/sqlalchemy/alembic/blob/a22d21a43c2eb7a12944377168727ed76a51aaa9/alembic/operations/ops.py#L595-L696
A PR would be appreciated!
@CaselIT thanks for the confirmation. I'll open a PR
Do you already have a plan when you want to release a new alembic version?
Not yet, but it shouldn't be too long
Describe the bug
BatchOperations.create_foreign_key
states that theconstraint_name
should be a string, but it should beOptional[str]
Versions.
Additional context I'm happy to open a PR, but first wanted to create an issue
Have a nice day!