code: def put(
      port: Optional[int],
      api: str,
      data: Any,
      prefix: Optional[str] = None,
  ) -> None:
      request("put", port, api, data, 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 4 for calling a global function with example usage: put(port, api, data, prefix) without return types