code: def get_registered_app(app_id: str):
      global app_map
      return app_map[app_id]
  
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 3 for calling a global function with example usage: get_registered_app(app_id) and returns: app_map