code: def disable_trace_patch(*args, **kwargs):
      """Disable trace by setting an environment variable."""
      os.environ["NNI_TRACE_FLAG"] = "DISABLE"
  
file_path: nni/docs/extension/patch_autodoc.py
imports: import inspect
  import os
  from typing import List, Tuple, List
  import sphinx
  from docutils import nodes
  from docutils.nodes import Node
label_desc: Use image node_id 1 for calling a global function with example usage: disable_trace_patch() without return types