jinja2.sandbox.ImmutableSandboxedEnvironment.extend¶
-
ImmutableSandboxedEnvironment.
extend
(**attributes)¶ Add the items to the instance of the environment if they do not exist yet. This is used by extensions to register callbacks and configuration values without breaking inheritance.