Skip to content

Commit 2984403

Browse files
authored
Add ChunkedError to list of retry exception (openml#1118)
Since it can stem from connectivity issues and it might not occur on a retry.
1 parent 6717e66 commit 2984403

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

openml/_api_calls.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ def _send_request(request_method, url, data, files=None, md5_checksum=None):
242242
)
243243
break
244244
except (
245+
requests.exceptions.ChunkedEncodingError,
245246
requests.exceptions.ConnectionError,
246247
requests.exceptions.SSLError,
247248
OpenMLServerException,

0 commit comments

Comments
 (0)