refactor: remove redundant # type: ignore

This commit is contained in:
Vlad Stan
2023-01-10 09:45:12 +02:00
parent 8cd6c7c9bc
commit c370bd18c6
30 changed files with 54 additions and 53 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ from typing import Optional
from loguru import logger
from sqlalchemy import create_engine
from sqlalchemy_aio.base import AsyncConnection
from sqlalchemy_aio.strategy import ASYNCIO_STRATEGY # type: ignore
from sqlalchemy_aio.strategy import ASYNCIO_STRATEGY
from lnbits.settings import settings
@@ -129,7 +129,7 @@ class Database(Compat):
else:
self.type = POSTGRES
import psycopg2 # type: ignore
import psycopg2
def _parse_timestamp(value, _):
if value is None: