You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Shubham Parekh (JIRA)" <ji...@apache.org> on 2019/01/03 11:14:00 UTC

[jira] [Created] (AIRFLOW-3626) Unable to Trigger Zipped Dags

Shubham Parekh created AIRFLOW-3626:
---------------------------------------

             Summary: Unable to Trigger Zipped Dags
                 Key: AIRFLOW-3626
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3626
             Project: Apache Airflow
          Issue Type: Bug
          Components: DagRun
    Affects Versions: 2.0.0
            Reporter: Shubham Parekh


The resolution to issue [AIRFLOW-2614|https://issues.apache.org/jira/browse/AIRFLOW-2614] by [commit| https://github.com/apache/incubator-airflow/commit/aa17b5baf886f7e23b3a9bcf8fef45759193f1b6] breaks Api based triggering of Zipped Dags.

Following line in [airflow/api/common/experimental/trigger_dag.py|https://codecov.io/gh/apache/incubator-airflow/pull/3590/diff?src=pr&el=tree#diff-YWlyZmxvdy9hcGkvY29tbW9uL2V4cGVyaW1lbnRhbC90cmlnZ2VyX2RhZy5weQ==] 

dagbag = DagBag(dag_folder=dag_model.fileloc) 

causes the break since dag_model.fileloc for a zipped dag is path_to_zip/dagfile.py



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)