diff options
Diffstat (limited to 'alembic/ddl/postgresql.py')
-rw-r--r-- | alembic/ddl/postgresql.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/alembic/ddl/postgresql.py b/alembic/ddl/postgresql.py index cc0488b..6c858e7 100644 --- a/alembic/ddl/postgresql.py +++ b/alembic/ddl/postgresql.py @@ -593,7 +593,11 @@ class CreateExcludeConstraintOp(ops.AddConstraintOp): @classmethod def batch_create_exclude_constraint( - cls, operations, constraint_name, *elements, **kw + cls, + operations: BatchOperations, + constraint_name: str, + *elements: Any, + **kw: Any, ): """Issue a "create exclude constraint" instruction using the current batch migration context. |