show_server_banner() — flask Function Reference
Architecture documentation for the show_server_banner() function in cli.py from the flask codebase.
Entity Profile
Dependency Diagram
graph TD 6c622a4d_f232_2fcf_ef52_d2fd24dc70b7["show_server_banner()"] a96499c3_f8a9_e782_f156_1c1ee4a86c69["cli.py"] 6c622a4d_f232_2fcf_ef52_d2fd24dc70b7 -->|defined in| a96499c3_f8a9_e782_f156_1c1ee4a86c69 112697fd_abe3_7738_1bc4_8f3d27bbbb68["run_command()"] 112697fd_abe3_7738_1bc4_8f3d27bbbb68 -->|calls| 6c622a4d_f232_2fcf_ef52_d2fd24dc70b7 style 6c622a4d_f232_2fcf_ef52_d2fd24dc70b7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/flask/cli.py lines 766–777
def show_server_banner(debug: bool, app_import_path: str | None) -> None:
"""Show extra startup messages the first time the server is run,
ignoring the reloader.
"""
if is_running_from_reloader():
return
if app_import_path is not None:
click.echo(f" * Serving Flask app '{app_import_path}'")
if debug is not None:
click.echo(f" * Debug mode: {'on' if debug else 'off'}")
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does show_server_banner() do?
show_server_banner() is a function in the flask codebase, defined in src/flask/cli.py.
Where is show_server_banner() defined?
show_server_banner() is defined in src/flask/cli.py at line 766.
What calls show_server_banner()?
show_server_banner() is called by 1 function(s): run_command.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free