forked from apache/superset
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Migrate flask_script to the Flask built-in click. Flask 0.11 is the built-in integration of the click command line interface. Flask-Migrate support for the new Flask CLI based on Click after Release 2.0.0. * Resolved merge conflicts. * Fixed issue introduced from bad merge. * Fixed flake8 errors, added build to excluded flake8 stuff. * * Moved the FlaskGroup declaration to the driver script. * Moved shell context definition to cli.py * Switched shell context definition to use decorator. * Moved create_app definition to cli.py * Fixed InvocationError with a wrapped function * Added extra newlines between functions * Removed flask-script dependency.
- Loading branch information
1 parent
670b145
commit 90decbc
Showing
7 changed files
with
90 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,7 +109,7 @@ def setUpClass(cls): | |
'admin', 'admin', ' user', '[email protected]', | ||
security_manager.find_role('Admin'), | ||
password='general') | ||
cli.load_examples(load_test_data=True) | ||
cli.load_examples_run(load_test_data=True) | ||
|
||
@classmethod | ||
def tearDownClass(cls): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters