Merge pull request #1271 from lnbits/fix/mypy/ignores

removing type: ignore from Query, Depends, Body and import them correctly
This commit is contained in:
calle
2023-01-04 09:19:06 +01:00
committed by GitHub
23 changed files with 96 additions and 147 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
import json
from typing import Optional
from fastapi.params import Query
from fastapi import Query
from lnurl import Lnurl
from lnurl import encode as lnurl_encode # type: ignore
from lnurl.models import LnurlPaySuccessAction, UrlAction # type: ignore
from lnurl.types import LnurlPayMetadata # type: ignore
from pydantic.main import BaseModel
from pydantic import BaseModel
from starlette.requests import Request