Skip to content

Commit 520aeda

Browse files
authored
Import requests and HTTPAdapter in download_qnn_sdk.py
Added requests library and HTTPAdapter for improved HTTP handling.
1 parent 9317ebc commit 520aeda

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

backends/qualcomm/scripts/download_qnn_sdk.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
import urllib.request
1414
import zipfile
1515
from typing import Dict, List, Optional, Tuple
16-
16+
import requests
17+
from requests.adapters import HTTPAdapter, Retry
1718

1819
logger = logging.getLogger(__name__)
1920
logger.addHandler(logging.NullHandler())

0 commit comments

Comments
 (0)