jinja2.environment.optimize

jinja2.environment.optimize(node, environment)[source]

The context hint can be used to perform an static optimization based on the context given.