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