Home / Function/ jinja_env() — flask Function Reference

jinja_env() — flask Function Reference

Architecture documentation for the jinja_env() function in app.py from the flask codebase.

Entity Profile

Dependency Diagram

graph TD
  b5727c4c_564c_6e3b_0ae8_dc9dd1e74cfb["jinja_env()"]
  38f6d4a2_834e_2acd_e1b6_f45c58079ccd["App"]
  b5727c4c_564c_6e3b_0ae8_dc9dd1e74cfb -->|defined in| 38f6d4a2_834e_2acd_e1b6_f45c58079ccd
  1c5f5aa4_5c04_8aae_971c_720c698c8609["create_jinja_environment()"]
  b5727c4c_564c_6e3b_0ae8_dc9dd1e74cfb -->|calls| 1c5f5aa4_5c04_8aae_971c_720c698c8609
  style b5727c4c_564c_6e3b_0ae8_dc9dd1e74cfb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/flask/sansio/app.py lines 467–474

    def jinja_env(self) -> Environment:
        """The Jinja environment used to load templates.

        The environment is created the first time this property is
        accessed. Changing :attr:`jinja_options` after that will have no
        effect.
        """
        return self.create_jinja_environment()

Subdomains

Frequently Asked Questions

What does jinja_env() do?
jinja_env() is a function in the flask codebase, defined in src/flask/sansio/app.py.
Where is jinja_env() defined?
jinja_env() is defined in src/flask/sansio/app.py at line 467.
What does jinja_env() call?
jinja_env() calls 1 function(s): create_jinja_environment.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free