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
  4e550780_dd54_a8b2_b963_e3aba639091a["__init__.py"]
  8c762fc5_c0b6_0d4d_3889_896d80fbf225["flask"]
  4e550780_dd54_a8b2_b963_e3aba639091a --> 8c762fc5_c0b6_0d4d_3889_896d80fbf225
  style 4e550780_dd54_a8b2_b963_e3aba639091a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

from flask import Blueprint
from flask import render_template

admin = Blueprint(
    "admin",
    __name__,
    url_prefix="/admin",
    template_folder="templates",
    static_folder="static",
)


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


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

Subdomains

Functions

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, index2.
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/admin/__init__.py (domain: ApplicationCore, subdomain: ExtensionRegistry, directory: tests/test_apps/blueprintapp/apps/admin).

Analyze Your Own Codebase

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

Try Supermodel Free