Skip to content

Commit 5305fd9

Browse files
committed
Add ChunkedError to list of retry exception
Since it can stem from connectivity issues and it might not occur on a retry.
1 parent d2ccfe9 commit 5305fd9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)