code: def __init__(
      self,
      server_hostname: Optional[str],
      max_retries: Optional[urllib3.util.retry.Retry],
  ) -> None:
      super().__init__()
      if max_retries is None:
          # Override the https adapter.
          self.mount("https://", HTTPAdapter(server_hostname))
      else:
          self.mount(
              "https://",
              HTTPAdapter(server_hostname, max_retries=max_retries),
          )
          self.mount(
              "http://",
              requests.adapters.HTTPAdapter(max_retries=max_retries),
          )
  
file_path: determined/harness/determined/common/requests.py
imports: from typing import Any, Optional
  import requests
  import urllib3
label_desc: Use image node_id 1 to create a new Session object from inherited base classes: requests.sessions with example: obj = Session(server_hostname, max_retries)