code: def _get_render_fn_from_environment() -> Callable:
      render_fn_name = os.environ["LIGHTNING_RENDER_FUNCTION"]
      render_fn_module_file = os.environ["LIGHTNING_RENDER_MODULE_FILE"]
      module = pydoc.importfile(render_fn_module_file)
      return getattr(module, render_fn_name)
  
file_path: pytorch-lightning/src/lightning/app/frontend/streamlit_base.py
imports: import os
  import pydoc
  from typing import Callable
  from lightning.app.frontend.utils import _reduce_to_flow_scope
  from lightning.app.utilities.app_helpers import StreamLitStatePlugin
  from lightning.app.utilities.state import AppState
label_desc: Use image node_id 1 for calling a global function with example usage: _get_render_fn_from_environment() and returns: getattr