code: def _get_render_fn_from_environment(
      render_fn_name: str, render_fn_module_file: str
  ) -> Callable:
      """Returns the render_fn function to serve in the Frontend."""
      module = pydoc.importfile(render_fn_module_file)
      return getattr(module, render_fn_name)
  
file_path: pytorch-lightning/src/lightning/app/frontend/panel/panel_serve_render_fn.py
imports: import inspect
  import os
  import pydoc
  from typing import Callable
  from lightning.app.frontend.panel.app_state_watcher import AppStateWatcher
label_desc: Use image node_id 1 for calling a global function with example usage: _get_render_fn_from_environment(render_fn_name, render_fn_module_file) and returns: getattr