You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by cr...@apache.org on 2016/07/12 17:34:35 UTC

[1/2] incubator-airflow git commit: [AIRFLOW-321] Fix a wrong code example about tests/dags

Repository: incubator-airflow
Updated Branches:
  refs/heads/master 0953f27a5 -> 14561f20d


[AIRFLOW-321] Fix a wrong code example about tests/dags

tests/dags/README.md has a code example such as
"dag = dagbag.get(dag_id)", but DagBag doesn't have a method called get.
That should be fixed as get_dag.


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/d62a4391
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/d62a4391
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/d62a4391

Branch: refs/heads/master
Commit: d62a4391c327e521d2e6abe29ee8d201bb9079c9
Parents: 635c97a
Author: Kengo Seki <se...@apache.org>
Authored: Sat Jul 9 00:59:30 2016 +0000
Committer: Kengo Seki <se...@apache.org>
Committed: Sat Jul 9 13:25:25 2016 +0000

----------------------------------------------------------------------
 tests/dags/README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/d62a4391/tests/dags/README.md
----------------------------------------------------------------------
diff --git a/tests/dags/README.md b/tests/dags/README.md
index 14849f1..c5d6acb 100644
--- a/tests/dags/README.md
+++ b/tests/dags/README.md
@@ -6,5 +6,5 @@ To access a DAG in this folder, use the following code inside a unit test. Note
 
 ```python
 dagbag = DagBag()
-dag = dagbag.get(dag_id)
+dag = dagbag.get_dag(dag_id)
 ```


[2/2] incubator-airflow git commit: Merge pull request #1659 from sekikn/AIRFLOW-321

Posted by cr...@apache.org.
Merge pull request #1659 from sekikn/AIRFLOW-321


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/14561f20
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/14561f20
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/14561f20

Branch: refs/heads/master
Commit: 14561f20d4fd22ebad2a616fda689f073af7cf89
Parents: 0953f27 d62a439
Author: Chris Riccomini <ch...@wepay.com>
Authored: Tue Jul 12 10:34:29 2016 -0700
Committer: Chris Riccomini <ch...@wepay.com>
Committed: Tue Jul 12 10:34:29 2016 -0700

----------------------------------------------------------------------
 tests/dags/README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------