Home / File/ __init__.py — flask Source File

__init__.py — flask Source File

Architecture documentation for __init__.py, a python file in the flask codebase. 1 imports, 0 dependents.

Entity Profile

Dependency Diagram

graph LR
  882da30e_23c9_76b5_f923_25ad364c6acc["__init__.py"]
  8c762fc5_c0b6_0d4d_3889_896d80fbf225["flask"]
  882da30e_23c9_76b5_f923_25ad364c6acc --> 8c762fc5_c0b6_0d4d_3889_896d80fbf225
  style 882da30e_23c9_76b5_f923_25ad364c6acc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

from flask import Blueprint
from flask import render_template

frontend = Blueprint("frontend", __name__, template_folder="templates")


@frontend.route("/")
def index():
    return render_template("frontend/index.html")


@frontend.route("/missing")
def missing_template():
    return render_template("missing_template.html")

Subdomains

Dependencies

  • flask

Frequently Asked Questions

What does __init__.py do?
__init__.py is a source file in the flask codebase, written in python. It belongs to the ApplicationCore domain, ExtensionRegistry subdomain.
What functions are defined in __init__.py?
__init__.py defines 2 function(s): index, missing_template.
What does __init__.py depend on?
__init__.py imports 1 module(s): flask.
Where is __init__.py in the architecture?
__init__.py is located at tests/test_apps/blueprintapp/apps/frontend/__init__.py (domain: ApplicationCore, subdomain: ExtensionRegistry, directory: tests/test_apps/blueprintapp/apps/frontend).

Analyze Your Own Codebase

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

Try Supermodel Free