forked from apache/airflow
-
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.
[AIRFLOW-1246] Setting a Subdag Task State Throws Exception
# This is a combination of 16 commits. # This is the 1st commit message: Add flask_admin_unescape function to airfow.www.utils # This is the commit message apache#2: Add flask_admin_unescape to TaskInstanceModelView for task_id and dag_id # This is the commit message apache#3: Add test_flask_admin_unescape to tests.www.test_utils # This is the commit message apache#4: Add TestTaskInstanceModelView to tests.www.test_views This test for the proper integration between Subdag Tasks and the flask_admin package. Because the flask_admin package uses '.' characters as it's escape character and airflow enforces the dag_id.subdag_id format for the dag_id's for task_id's in subdags, the escaping that flask_admin preforms causes a duplication of the '.' character. When perform the actions that are available for those task_instances via the ui, this causes an error. These tests are here to protect against that integration issue. # This is the commit message apache#5: Update airflow.www.utils to conform to flake8 standards # This is the commit message apache#6: Update tests.www.test_utils to conform to flake8 standards # This is the commit message apache#7: Update TestTaskInstanceModelView to Leverage assertEqual # This is the commit message apache#8: Remove Superfluous SubDAG Task Var TestTaskInstanceModelView # This is the commit message apache#9: Update airflow.www.utils.gizipped.view_func to match with flake8 # This is the commit message apache#11: Update airflow.www._connection_ids to align with flake8 spacing # This is the commit message apache#12: Update tests.www.test_utils.test_flask_admin_unescape with proper spaces # This is the commit message apache#13: Align tests.www.test_views with flake8 standards # This is the commit message apache#14: Remove unnecessary SubDagOperator in tests.www.test_views # This is the commit message apache#15: Change Position on install_aliases call in www.utils for flake8 # This is the commit message apache#16: Separate setting subdag state via flask_admin model tests
- Loading branch information
Zack Lawson
committed
Jan 25, 2018
1 parent
cbc02da
commit 432fa19
Showing
4 changed files
with
144 additions
and
18 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