jinja2.nodes.Import.set_environment

Import.set_environment(environment)

Set the environment for all nodes.