Skip to content

Commit f458879

Browse files
authored
Merge pull request #1 from prusnak/remove-unused
remove unused imports
2 parents add87f8 + a437ee0 commit f458879

File tree

4 files changed

+2
-11
lines changed

4 files changed

+2
-11
lines changed

crud.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import List, Optional, Union
1+
from typing import List, Optional
22

33
from lnbits.helpers import urlsafe_short_hash
44

lnurl.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import hashlib
21
import json
32
from http import HTTPStatus
43

models.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
import json
2-
from sqlite3 import Row
3-
from typing import Dict, Optional
4-
from urllib.parse import ParseResult, parse_qs, urlencode, urlparse, urlunparse
5-
6-
from fastapi.param_functions import Query
7-
from fastapi.requests import Request
1+
from fastapi import Query, Reuqest
82
from lnurl.types import LnurlPayMetadata
93
from pydantic import BaseModel
104

views.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from typing import List
2-
31
from fastapi import Depends, Request
42
from fastapi.templating import Jinja2Templates
53
from fastapi.responses import HTMLResponse

0 commit comments

Comments
 (0)