code: def get(self, path):
      ports = _get_experiment_ports()
      if not ports:
          self.set_status(404)
          return
  
      if path == "index":
          if (
              len(ports) > 1
          ):  # if there is more than one running experiments, show experiment list
              self.redirect("experiment")
          else:  # if there is only one running experiment, show that experiment
              self.redirect("oview")
          return
  
      r = requests.get(f"http://localhost:{ports[0]}/{path}")
      self.set_status(r.status_code)
      for key, value in r.headers.items():
          self.add_header(key, value)
      self.finish(r.content)
  
file_path: nni/nni/tools/jupyter_extension/proxy.py
imports: import json
  from pathlib import Path
  import requests
  from tornado.web import RequestHandler
label_desc: Use image node_id 1 for calling the NniProxyHandler obj's underlying member method code with example usage: obj.get(path) without return types