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.
This adds the create_dagrun function to DAG and the staticmethod DagRun.find. create_dagrun will create a dagrun including its tasks. By having taskinstances created at dagrun instantiation time, deadlocks that were tested for will not take place anymore. Tests have been adjusted accordingly. In addition, integrity has been improved by a bugfix to add_task of the BaseOperator to make sure to always assign a Dag if it is present to a task. DagRun.find is a convenience function that returns the DagRuns for a given dag. It makes sure to have a single place how to find dagruns.
- Loading branch information
1 parent
72ab63e
commit cb56289
Showing
5 changed files
with
137 additions
and
54 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