Skip to content

Commit

Permalink
Fix usage of deprecated and removed urllib3 retry attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
ldeflandre committed Sep 17, 2024
1 parent 9e70c24 commit 49238e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gimme_aws_creds/okta.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def __init__(self, gac_ui, okta_org_url, verify_ssl_certs=True, device_token=Non
self.device_token = device_token

retries = Retry(total=5, backoff_factor=1,
method_whitelist=['GET', 'POST'])
allowed_methods=['GET', 'POST'])
self._http_client.mount('https://', HTTPAdapter(max_retries=retries))

@property
Expand Down

0 comments on commit 49238e3

Please sign in to comment.