jinja2.nodes.Stmt.set_environment

Stmt.set_environment(environment)

Set the environment for all nodes.