Skip to content

Commit 0e87808

Browse files
committed
BLDX-450: Extended Retry.status_forcelist to perform retries for redirects (302)
1 parent 8442fff commit 0e87808

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyatlan/client/atlan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def get_adapter() -> logging.LoggerAdapter:
111111
DEFAULT_RETRY = Retry(
112112
total=5,
113113
backoff_factor=1,
114-
status_forcelist=[403, 429, 500, 502, 503, 504],
114+
status_forcelist=[302, 403, 429, 500, 502, 503, 504],
115115
allowed_methods=["HEAD", "GET", "OPTIONS", "POST", "PUT", "DELETE"],
116116
# When response.status is in `status_forcelist`
117117
# and the "Retry-After" header is present, the retry mechanism

0 commit comments

Comments
 (0)