summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alembic/op.pyi2
-rw-r--r--alembic/operations/ops.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/alembic/op.pyi b/alembic/op.pyi
index bb091c4..dc94113 100644
--- a/alembic/op.pyi
+++ b/alembic/op.pyi
@@ -752,7 +752,7 @@ def create_table(
def create_table_comment(
table_name: str,
comment: Optional[str],
- existing_comment: None = None,
+ existing_comment: Optional[str] = None,
schema: Optional[str] = None,
) -> Optional[Table]:
"""Emit a COMMENT ON operation to set the comment for a table.
diff --git a/alembic/operations/ops.py b/alembic/operations/ops.py
index 789fb58..b3ef5bb 100644
--- a/alembic/operations/ops.py
+++ b/alembic/operations/ops.py
@@ -1422,7 +1422,7 @@ class CreateTableCommentOp(AlterTableOp):
operations: Operations,
table_name: str,
comment: Optional[str],
- existing_comment: None = None,
+ existing_comment: Optional[str] = None,
schema: Optional[str] = None,
) -> Optional[Table]:
"""Emit a COMMENT ON operation to set the comment for a table.