Run hooks
This commit is contained in:
parent
18392e9126
commit
9835d90665
1
.gitignore
vendored
1
.gitignore
vendored
@ -159,4 +159,3 @@ cython_debug/
|
||||
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
||||
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
||||
#.idea/
|
||||
|
||||
|
0
bandcamp_search/__init__.py
Normal file
0
bandcamp_search/__init__.py
Normal file
@ -1,13 +1,13 @@
|
||||
import sys
|
||||
from typing import cast
|
||||
|
||||
from bandcamp_search.search import search
|
||||
from bandcamp_search.models import (
|
||||
AlbumSearchResult,
|
||||
ArtistLabelSearchResult,
|
||||
SearchType,
|
||||
TrackSearchResult,
|
||||
)
|
||||
from bandcamp_search.search import search
|
||||
|
||||
if __name__ == "__main__":
|
||||
query = sys.argv[1]
|
||||
|
@ -1,5 +1,5 @@
|
||||
from typing import Any, TypedDict
|
||||
from enum import StrEnum
|
||||
from typing import Any, TypedDict
|
||||
|
||||
|
||||
class SearchType(StrEnum):
|
||||
@ -49,7 +49,7 @@ class AlbumSearchResult(SearchResult):
|
||||
|
||||
|
||||
class AutoCompleteResult(TypedDict):
|
||||
results: list[AlbumSearchResult|ArtistLabelSearchResult|TrackSearchResult]
|
||||
results: list[AlbumSearchResult | ArtistLabelSearchResult | TrackSearchResult]
|
||||
stat_params_for_tag: str
|
||||
time_ms: int
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
import requests
|
||||
|
||||
|
||||
from bandcamp_search.models import BandcampResponse, SearchType
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user