code: def _do_request(
      self,
      method: str,
      path: str,
      params: Optional[Dict[str, Any]],
      json: Any,
      data: Optional[str],
      headers: Optional[Dict[str, Any]],
      timeout: Optional[int],
      stream: bool,
  ) -> requests.Response:
      return request.do_request(
          method,
          self._master,
          path,
          params=params,
          json=json,
          data=data,
          auth=self._auth,
          cert=self._cert,
          headers=headers,
          timeout=timeout,
          stream=stream,
          max_retries=self._max_retries,
      )
  
file_path: determined/harness/determined/common/api/_session.py
imports: from typing import Any, Dict, Optional
  import requests
  import urllib3
  from determined.common import util
  from determined.common.api import authentication, certs, request
label_desc: Use image node_id 2 for calling the Session obj's underlying member method code with example usage: obj._do_request(method, path, params, json, data, headers, timeout, stream) and returns: request