mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
Bump Flask, bleach and sync pip-compile (#6239)
* sync pip-compile * Support Flask >= 1.0.0 * pylint * Trying something else to fix pylint
This commit is contained in:
committed by
GitHub
parent
7b3095d6ff
commit
e46ab4db52
@@ -38,12 +38,17 @@ def init():
|
||||
|
||||
|
||||
def debug_run(app, port, use_reloader):
|
||||
return app.run(
|
||||
host='0.0.0.0',
|
||||
port=int(port),
|
||||
threaded=True,
|
||||
debug=True,
|
||||
use_reloader=use_reloader)
|
||||
click.secho(
|
||||
'[DEPRECATED] As of Flask >=1.0.0, this command is no longer '
|
||||
'supported, please use `flask run` instead, as documented in our '
|
||||
'CONTRIBUTING.md',
|
||||
fg='red',
|
||||
)
|
||||
click.secho('[example]', fg='yellow')
|
||||
click.secho(
|
||||
'flask run -p 8080 --with-threads --reload --debugger',
|
||||
fg='green',
|
||||
)
|
||||
|
||||
|
||||
def console_log_run(app, port, use_reloader):
|
||||
|
||||
Reference in New Issue
Block a user