Skip to content

Commit 7eaa082

Browse files
committed
fix: linting
1 parent 4d3f79a commit 7eaa082

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/runpod/serverless/modules/download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def download_input_objects(object_locations):
2020

2121
objects = []
2222
for object_url in object_locations:
23-
response = requests.get(object_url)
23+
response = requests.get(object_url, timeout=5)
2424

2525
file_name = os.path.basename(object_url)
2626
file_extension = os.path.splitext(file_name)[1]

src/runpod/serverless/modules/inference.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
'''
55

66
import os
7-
import shutil
87
import zipfile
98

109
# -------------------------- Import Model Predictors ------------------------- #

0 commit comments

Comments
 (0)