code: def render_fn(get_state: Callable) -> Callable:
      return _webpage
  
file_path: pytorch-lightning/tests/tests_app/frontend/just_py/test_just_py.py
imports: import os
  import os.path
  import sys
  from typing import Callable
  from unittest.mock import MagicMock
  import lightning.app
  from lightning.app.frontend import JustPyFrontend
  from lightning.app.frontend.just_py import just_py
  from lightning.app.frontend.just_py.just_py_base import _main, _webpage
label_desc: Use image node_id 1 for calling a global function with example usage: render_fn(get_state) and returns: _webpage