From 9de2e4b9891dbb9940d8e95b217bd0ff296545c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Mon, 4 Nov 2024 16:40:36 +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 c94f8d8e7..d53d03ccc 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)