code: def get(
      port: Optional[int], api: str, prefix: Optional[str] = None
  ) -> Any:
      return request("get", port, api, prefix=prefix)
  
file_path: nni/nni/experiment/rest.py
imports: import logging
  from typing import Any, Optional
  import requests
label_desc: Use image node_id 2 for calling a global function with example usage: get(port, api, prefix) and returns: request