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)
This commit is contained in:
Gifford Nowland
2025-10-10 18:49:09 -07:00
committed by GitHub
parent 534fa60b2a
commit b5ddc7ca05

View File

@ -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",