Method: flask.cli.show_server_banner
Calls: 35, Exceptions: 0, Paths: 1Back
Path 1: 35 calls (1.0)
False (21) True (14)
'flask_test' (35)
1def show_server_banner(debug, app_import_path):
2 """Show extra startup messages the first time the server is run,
3 ignoring the reloader.
4 """
5 if is_running_from_reloader():
6 return
7
8 if app_import_path is not None:
9 click.echo(f" * Serving Flask app '{app_import_path}'")
10
11 if debug is not None:
12 click.echo(f" * Debug mode: {'on' if debug else 'off'}")