From ff91bbc0f6c208f8e0337bc62dbe57f7532e76d6 Mon Sep 17 00:00:00 2001 From: Federico Caselli Date: Fri, 26 Jul 2024 21:35:52 +0200 Subject: [PATCH] add compatibility with mypy 1.11 Change-Id: Ieaa150c8aec70d54e87aa3355f5fc37c232f47ae --- alembic/util/sqla_compat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alembic/util/sqla_compat.py b/alembic/util/sqla_compat.py index 30b9b4c4..d4ed0fdd 100644 --- a/alembic/util/sqla_compat.py +++ b/alembic/util/sqla_compat.py @@ -527,7 +527,7 @@ def __init__(self, table: Table, text: TextClause) -> None: self.fake_column = schema.Column(self.text.text, sqltypes.NULLTYPE) table.append_column(self.fake_column) - def get_children(self): + def get_children(self, **kw): return [self.fake_column]