From b5ddc7ca051e5a2b66853351e9f3cdb3d21856e7 Mon Sep 17 00:00:00 2001 From: Gifford Nowland Date: Fri, 10 Oct 2025 18:49:09 -0700 Subject: [PATCH] fix: return type annotation for get_urls() in download_deps (#10478) ### What problem does this PR solve? Fixes the return type annotation for the `get_urls` function in `download_deps.py` ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- download_deps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download_deps.py b/download_deps.py index d140be347..a3fa49f0e 100644 --- a/download_deps.py +++ b/download_deps.py @@ -16,7 +16,7 @@ import os import urllib.request import argparse -def get_urls(use_china_mirrors=False) -> Union[str, list[str]]: +def get_urls(use_china_mirrors=False) -> list[Union[str, list[str]]]: if use_china_mirrors: return [ "http://mirrors.tuna.tsinghua.edu.cn/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb",