removing type: ignore from Query, Depends, Body and import them correctly

This commit is contained in:
dni ⚡
2023-01-02 11:56:28 +01:00
parent 765fd892bf
commit b1d1cc6de3
23 changed files with 96 additions and 146 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