Skip to content

Commit

Permalink
Experiment API path fix (#37)
Browse files Browse the repository at this point in the history
Co-authored-by: Vishesh Jain <visheshj@twitter.com>
  • Loading branch information
vshshjn7 and Vishesh Jain authored Apr 9, 2020
1 parent 28b1c3d commit f7050fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/api/common/experimental/trigger_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def trigger_dag(
dag_model = DagModel.get_current(dag_id)
if dag_model is None:
raise DagNotFound("Dag id {} not found in DagModel".format(dag_id))
dagbag = DagBag(dag_folder=dag_model.fileloc)
dagbag = DagBag(dag_folder=dag_model.get_local_fileloc())
dag_run = DagRun()
triggers = _trigger_dag(
dag_id=dag_id,
Expand Down

0 comments on commit f7050fb

Please sign in to comment.