From 595ca437870eb89738d22a859b45add2929f8a70 Mon Sep 17 00:00:00 2001 From: Mel Matsuoka Date: Fri, 7 Jul 2023 14:54:21 -1000 Subject: [PATCH] Rename the deprecated/removed 'method_whitelist' parameter in Retry() --- frameioclient/lib/transport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameioclient/lib/transport.py b/frameioclient/lib/transport.py index 6dda6e16..81baccaf 100644 --- a/frameioclient/lib/transport.py +++ b/frameioclient/lib/transport.py @@ -49,7 +49,7 @@ def __init__(self, threads: Optional[int] = default_thread_count): total=100, backoff_factor=2, status_forcelist=retryable_statuses, - method_whitelist=["GET", "POST", "PUT", "GET", "DELETE"], + allowed_methods=["GET", "POST", "PUT", "GET", "DELETE"], ) # Create real thread