code: def app_id_context(app_id: str):
      token = _app_id_context_var.set(app_id)
      yield
      _app_id_context_var.reset(token)
  
file_path: gradio/gradio/wasm_utils.py
imports: from __future__ import annotations
  import sys
  from contextlib import contextmanager
  from contextvars import ContextVar
label_desc: Use image node_id 1 for calling a global function with example usage: app_id_context(app_id) without return types