You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by bo...@apache.org on 2017/05/12 09:36:52 UTC
incubator-airflow git commit: [AIRFLOW-1141] remove crawl_for_tasks
Repository: incubator-airflow
Updated Branches:
refs/heads/master 70723894b -> a30fee87d
[AIRFLOW-1141] remove crawl_for_tasks
This method is defined in `models.DAG`, but it is
not used by anywhere.
The method doesn't implement anything (throwing
`NotImplementedError`).
I suspect that this is an artifact from Airbnb
days.
Closes #2275 from jeeyoungk/AIRFLOW-1141
Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/a30fee87
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/a30fee87
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/a30fee87
Branch: refs/heads/master
Commit: a30fee87dbaa22ce53abfab890e382bac6412b5d
Parents: 7072389
Author: Jeeyoung Kim <jk...@plaid.com>
Authored: Fri May 12 11:36:45 2017 +0200
Committer: Bolke de Bruin <bo...@xs4all.nl>
Committed: Fri May 12 11:36:45 2017 +0200
----------------------------------------------------------------------
airflow/models.py | 8 --------
1 file changed, 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/a30fee87/airflow/models.py
----------------------------------------------------------------------
diff --git a/airflow/models.py b/airflow/models.py
index aab4833..53ca38d 100755
--- a/airflow/models.py
+++ b/airflow/models.py
@@ -3033,14 +3033,6 @@ class DAG(BaseDag, LoggingMixin):
for t in self.tasks:
t.resolve_template_files()
- def crawl_for_tasks(objects):
- """
- Typically called at the end of a script by passing globals() as a
- parameter. This allows to not explicitly add every single task to the
- dag explicitly.
- """
- raise NotImplementedError("")
-
def get_template_env(self):
"""
Returns a jinja2 Environment while taking into account the DAGs