mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-09 09:26:55 +08:00
fix: restore search provider type contract
This commit is contained in:
@@ -344,7 +344,7 @@ class _SearchProviderSyncOwner(_SearchOwnerBase):
|
|||||||
media_type: Optional[MediaType],
|
media_type: Optional[MediaType],
|
||||||
results: List[TorrentInfo],
|
results: List[TorrentInfo],
|
||||||
progress: ProgressHelper,
|
progress: ProgressHelper,
|
||||||
) -> None:
|
) -> Dict[str, tuple[str, float]]:
|
||||||
"""在共享线程池中按站点串行翻页,并把结果合并到调用方集合。"""
|
"""在共享线程池中按站点串行翻页,并把结果合并到调用方集合。"""
|
||||||
total_num = len(indexer_sites) * len(search_pages)
|
total_num = len(indexer_sites) * len(search_pages)
|
||||||
pending: SyncPending = {}
|
pending: SyncPending = {}
|
||||||
|
|||||||
+2
-3
@@ -2668,9 +2668,8 @@
|
|||||||
"app/runtime/state.py": {
|
"app/runtime/state.py": {
|
||||||
"attr-defined": 2,
|
"attr-defined": 2,
|
||||||
"no-any-return": 2,
|
"no-any-return": 2,
|
||||||
"no-untyped-call": 2,
|
"no-untyped-call": 1,
|
||||||
"no-untyped-def": 5,
|
"no-untyped-def": 3,
|
||||||
"return-value": 1,
|
|
||||||
"type-arg": 1
|
"type-arg": 1
|
||||||
},
|
},
|
||||||
"app/runtime/thread.py": {
|
"app/runtime/thread.py": {
|
||||||
|
|||||||
Reference in New Issue
Block a user