code: def request(
      method: str, url: str, **kwargs: Any
  ) -> requests.Response:
      server_hostname = kwargs.pop("server_hostname", None)
      max_retries = kwargs.pop("max_retries", None)
      with Session(server_hostname, max_retries) as session:
          out = session.request(
              method=method, url=url, **kwargs
          )  # type: requests.Response
          return out
  
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 for calling a global function with example usage: request(method, url) and returns: out