Skip to content

Commit

Permalink
update to latest rest tools syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
dsschult committed Sep 13, 2023
1 parent 07bf035 commit a8c5793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iceprod/core/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def _http_helper(options={}, sync=True):
session = Session
else:
session = AsyncSession
with session() as s:
with session(retries=10, backoff_factor=0.3) as s:
if 'username' in options and 'password' in options:
s.auth = (options['username'], options['password'])
if 'sslcert' in options:
Expand Down

0 comments on commit a8c5793

Please sign in to comment.