Skip to content

Commit 0fb3a04

Browse files
committed
Timeouts
1 parent 2a1ff0e commit 0fb3a04

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

labelbox/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"The Labelbox python package."
22

3-
__version__ = '0.0.6'
3+
__version__ = '0.0.7'

labelbox/exporters/coco_exporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def add_label(
8989
"coco_url": image_url,
9090
"date_captured": None,
9191
}
92-
response = requests.get(image_url, stream=True)
92+
response = requests.get(image_url, stream=True, timeout=0.1)
9393
response.raw.decode_content = True
9494
image['width'], image['height'] = Image.open(response.raw).size
9595

0 commit comments

Comments
 (0)