Skip to main content

show_server_banner

Show extra startup messages the first time the server is run, ignoring the reloader.

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.

Parameters​

NameTypeDescription
debugboolA flag indicating whether debug mode is enabled, used to display the current debug status in the banner
app_import_path`strNone`

Returns​

TypeDescription
NoneNothing is returned; output is printed directly to the console via click.echo