mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-20 04:54:18 +02:00
update type of the library parameter to string, instead of generating a list of possible values dynamically
This commit is contained in:
@@ -176,9 +176,7 @@ def get_a_shows_torrents(show: show_dep, tv_service: tv_service_dep):
|
||||
def set_library(
|
||||
show: show_dep,
|
||||
tv_service: tv_service_dep,
|
||||
library: Literal[
|
||||
*[x.name for x in AllEncompassingConfig().misc.tv_libraries], "Default"
|
||||
],
|
||||
library: str,
|
||||
) -> None:
|
||||
"""
|
||||
Sets the library of a Show.
|
||||
|
||||
Reference in New Issue
Block a user