Skip to content

Commit 9565166

Browse files
committed
Add Any return type
1 parent 255cb80 commit 9565166

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Tools/build/generate_sbom.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,9 @@ def get_externals() -> list[str]:
163163
return externals
164164

165165

166-
def download_with_retries(download_location: str, retries: int = 5):
166+
def download_with_retries(
167+
download_location: str,
168+
retries: int = 5) -> typing.Any:
167169
"""Download a file with exponential backoff retry."""
168170
attempt = 0
169171
while attempt < retries:

0 commit comments

Comments
 (0)