def run_web ( self , flask , host = '127.0.0.1' , port = 5000 , * * options ) : # type: (Zsl, str, int, **Any)->None return flask . run ( host = flask . config . get ( 'FLASK_HOST' , host ) , port = flask . config . get ( 'FLASK_PORT' , port ) , debug = flask . config . get ( 'DEBUG' , False ) , * * options )
python flask auto run
Alias for Flask . run
def run_web(self, flask, host='127.0.0.1', port=5000, **options):
        # type: (Zsl, str, int, **Any)->None
        """Alias for Flask.run"""
        return flask.run(
            host=flask.config.get('FLASK_HOST', host),
            port=flask.config.get('FLASK_PORT', port),
            debug=flask.config.get('DEBUG', False),
            **options
        )