code: def _get_request_session(
      max_retries,
      backoff_factor,
      backoff_jitter,
      retry_codes,
      raise_on_status,
  ):
      """Returns a `Requests.Session` object for making an HTTP request.
  
      Args:
          max_retries: Maximum total number of retries.
          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.
          backoff_jitter: A random jitter to add to the backoff interval.
          retry_codes: A list of HTTP response error codes that qualifies for retry.
          raise_on_status: Whether to raise an exception, or return a response, if status falls
              in retry_codes range and retries have been exhausted.
  
      Returns:
          requests.Session object.
  
      """
      return _cached_get_request_session(
          max_retries,
          backoff_factor,
          backoff_jitter,
          retry_codes,
          raise_on_status,
          _pid=os.getpid(),
      )
  
file_path: mlflow/mlflow/utils/request_utils.py
imports: import os
  import random
  from functools import lru_cache
  import requests
  import urllib3
  from packaging.version import Version
  from requests.adapters import HTTPAdapter
  from requests.exceptions import HTTPError
  from urllib3.util import Retry
label_desc: Use image node_id 4 for calling a global function with example usage: _get_request_session(max_retries, backoff_factor, backoff_jitter, retry_codes, raise_on_status) and returns: _cached_get_request_session