jinja2.nodes.ContextReference.set_environment

ContextReference.set_environment(environment)

Set the environment for all nodes.