This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from jinja2 import Environment, compiler, nodes | |
from jinja2.compiler import Frame | |
import re | |
env = Environment() | |
class Template: | |
def __init__(self, template_str: str) -> None: | |
# escape block statements |