class_docstr: The ScriptRunner executes the script using ``runpy`` and also patches the Trainer methods to inject additional
  code.
code: def _get_build_config(root_path: str) -> Optional[BuildConfig]:
      # These are the requirements for the script runner itself
      requirements = [
          "protobuf<4.21.0",
          "pytorch-lightning<=1.6.3",
          "pydantic<=1.9.0",
      ]
      if Path(root_path, "requirements.txt").exists():
          # Requirements from the user's code folder
          requirements.extend(
              load_requirements(root_path, file_name="requirements.txt")
          )
  
      return BuildConfig(requirements=requirements)
  
file_path: pytorch-lightning/src/lightning/app/cli/pl-app-template/core/components/script_runner/script_runner.py
imports: import sys
  import traceback
  from typing import Any, Dict, List, Optional, Tuple
  from lightning.app.components.python import TracerPythonScript
  from lightning.app.storage.path import Path
  from lightning.app.utilities.packaging.build_config import BuildConfig, load_requirements
  from lightning.app.utilities.tracer import Tracer
label_desc: Use image node_id 5 for calling the ScriptRunner obj's underlying member method code with example usage: obj._get_build_config(root_path) and returns: BuildConfig