fix schemas

This commit is contained in:
jxxghp
2023-07-07 17:40:15 +08:00
parent 39165a92f0
commit 9ccb2b482e
5 changed files with 71 additions and 50 deletions

View File

@ -26,7 +26,7 @@ class SearchChain(ChainBase):
self.siteshelper = SitesHelper()
self.progress = ProgressHelper()
def search_by_tmdbid(self, tmdbid: int, mtype: str = None) -> Optional[List[Context]]:
def search_by_tmdbid(self, tmdbid: int, mtype: MediaType = None) -> Optional[List[Context]]:
"""
根据TMDB ID搜索资源精确匹配但不不过滤本地存在的资源
:param tmdbid: TMDB ID