jinja2.nodes.Block.set_environment

Block.set_environment(environment)

Set the environment for all nodes.