Skip to content

Commit

Permalink
docstrings
Browse files Browse the repository at this point in the history
Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
  • Loading branch information
harupy committed Nov 22, 2023
1 parent 924eeed commit 33fcf70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mlflow/utils/request_utils.py
Expand Up @@ -209,6 +209,7 @@ def cloud_storage_http_request(
:param backoff_factor: a time factor for exponential backoff. e.g. value 5 means the HTTP
request will be retried with interval 5, 10, 20... seconds. A value of 0 turns off the
exponential backoff.
:param backoff_jitter: A random jitter to add to the backoff interval.
:param retry_codes: a list of HTTP response error codes that qualifies for retry.
:param timeout: wait for timeout seconds for response from remote server for connect and
read request. Default to None owing to long duration operation in read / write.
Expand Down
1 change: 1 addition & 0 deletions mlflow/utils/rest_utils.py
Expand Up @@ -52,6 +52,7 @@ def http_request(
:param backoff_factor: a time factor for exponential backoff. e.g. value 5 means the HTTP
request will be retried with interval 5, 10, 20... seconds. A value of 0 turns off the
exponential backoff.
:param backoff_jitter: A random jitter to add to the backoff interval.
:param extra_headers: a dict of HTTP header name-value pairs to be included in the request.
:param retry_codes: a list of HTTP response error codes that qualifies for retry.
:param timeout: wait for timeout seconds for response from remote server for connect and
Expand Down

0 comments on commit 33fcf70

Please sign in to comment.