care.emr.reports.renderer.template_engine module¶ class TemplateEngine(use_sandbox: bool = True, strict_undefined: bool = True)¶ Bases: object __init__(use_sandbox: bool = True, strict_undefined: bool = True)¶ validate_syntax(template_string: str) → tuple[bool, str]¶ render(template_string: str, context: dict) → str¶