code: def _render_text(text: str, context: Dict[str, Any]) -> str:
      return jinja2.Template(text).render(context)
  
file_path: tfx/tfx/orchestration/launcher/container_common.py
imports: from typing import Any, Dict, List, Optional, Union
  import jinja2
  from tfx import types
  from tfx.dsl.component.experimental import executor_specs
  from tfx.dsl.component.experimental import placeholders
  from tfx.dsl.components.base import executor_spec
label_desc: Use image node_id 3 for calling a global function with example usage: _render_text(text, context) and returns: jinja2