From 9ad85f2eb71fbfe76b555a13766077c7b5bc5688 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Mon, 4 Nov 2024 16:41:15 +0100 Subject: [PATCH] Remove extra type ignore comment --- c2cwsgiutils/sqlalchemylogger/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c2cwsgiutils/sqlalchemylogger/handlers.py b/c2cwsgiutils/sqlalchemylogger/handlers.py index d8038cf08..fe75eda89 100644 --- a/c2cwsgiutils/sqlalchemylogger/handlers.py +++ b/c2cwsgiutils/sqlalchemylogger/handlers.py @@ -101,7 +101,7 @@ def create_db(self) -> None: with self.engine.begin() as connection: if not self.engine.dialect.has_schema(connection, self.Log.__table_args__["schema"]): connection.execute( - sqlalchemy.schema.CreateSchema(self.Log.__table_args__["schema"]), # type: ignore + sqlalchemy.schema.CreateSchema(self.Log.__table_args__["schema"]), ) Base.metadata.create_all(self.engine)