Skip to content

Commit 5e44946

Browse files
russnescdecker
authored andcommitted
changed param name from method_whitelist to allowed_methods
1 parent ea4f257 commit 5e44946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sauron/sauron.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def fetch(url):
2929
backoff_factor=1,
3030
total=10,
3131
status_forcelist=[429, 500, 502, 503, 504],
32-
method_whitelist=["HEAD", "GET", "OPTIONS"],
32+
allowed_methods=["HEAD", "GET", "OPTIONS"],
3333
)
3434
adapter = HTTPAdapter(max_retries=retry_strategy)
3535

0 commit comments

Comments
 (0)