type: 收窄豆鱼服务层类型

This commit is contained in:
yml2213
2026-08-30 19:48:41 +08:00
parent 17577ff734
commit 6a16d561d2
4 changed files with 284 additions and 114 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ class ProxyResolver:
def resolve_working_proxy(
api_url: str,
whitelist_platform: str = "xiequ",
whitelist_credentials: dict = None,
whitelist_credentials: dict | None = None,
max_attempts: int = 4,
log_func: Optional[LogFunc] = None,
) -> tuple[Optional[str], str]: