diff --git a/clearml/backend_api/utils.py b/clearml/backend_api/utils.py index 691d4af5..48c474fa 100644 --- a/clearml/backend_api/utils.py +++ b/clearml/backend_api/utils.py @@ -133,6 +133,9 @@ def get_http_session_with_retry( pool_maxsize: Optional[int] = None, config: Optional[Any] = None, ) -> SessionWithTimeout: + """ + Returns a requests.Session-derived object that supports a retry behavior. + """ global __disable_certificate_verification_warning if not all(isinstance(x, (int, type(None))) for x in (total, connect, read, redirect, status)): raise ValueError("Bad configuration. All retry count values must be null or int")