Skip to content

Commit

Permalink
set timeout to unlimited
Browse files Browse the repository at this point in the history
  • Loading branch information
JR-1991 committed May 15, 2024
1 parent 0814f32 commit a524c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyDataverse/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def _sync_request(
kwargs = self._filter_kwargs(kwargs)

try:
resp = method(**kwargs, follow_redirects=True)
resp = method(**kwargs, follow_redirects=True, timeout=None)
if resp.status_code == 401:
error_msg = resp.json()["message"]
raise ApiAuthorizationError(
Expand Down

0 comments on commit a524c1c

Please sign in to comment.