def override_flask_hello():
 html = u'<!DOCTYPE html>\n<html>\n    <head>\n        <title>Hello from Flask</title>\n    </head>\n    <body>\n    Hello World, this is served from an extension, overriding the flask url.\n    </body>\n</html>'
 return render_template_string(html)

def override_flask_hello ( ) : html = u'<!DOCTYPE html>\n<html>\n    <head>\n        <title>Hello from Flask</title>\n    </head>\n    <body>\n    Hello World, this is served from an extension, overriding the flask url.\n    </body>\n</html>' return render_template_string ( html )
a simple replacement for the flash hello view function .