Skip to main content

find_best_app

Given a module instance this tries to find the best possible application in the module or raises an exception.

def find_best_app(
module: ModuleType
) - > Flask

Given a module instance this tries to find the best possible application in the module or raises an exception.

Parameters

NameTypeDescription
moduleModuleTypeThe module instance to search for a Flask application.

Returns

TypeDescription
FlaskThe Flask application instance found within the module.