mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-18 02:54:07 +02:00
refactor: reformat code
This commit is contained in:
@@ -18,9 +18,10 @@ def get_show_metadata(id: int = None, provider: str = "tmdb") -> Show:
|
||||
|
||||
|
||||
@cached(search_show_cache)
|
||||
def search_show(query: str | None = None, provider: str = "tmdb") -> list[MetaDataProviderShowSearchResult]:
|
||||
def search_show(
|
||||
query: str | None = None, provider: str = "tmdb"
|
||||
) -> list[MetaDataProviderShowSearchResult]:
|
||||
"""
|
||||
If no query is provided, it will return the most popular shows.
|
||||
"""
|
||||
return metadata_providers[provider].search_show(query)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user