ashb commented on a change in pull request #6182: [AIRFLOW-3877] -Changing full
file path in scheduler
URL: https://github.com/apache/airflow/pull/6182#discussion_r335943262
##########
File path: airflow/jobs/scheduler_job.py
##########
@@ -1092,7 +1099,7 @@ def _enqueue_task_instances_with_queued_state(self,
simple_dag_bag,
ignore_task_deps=False,
ignore_ti_state=False,
pool=simple_task_instance.pool,
- file_path=simple_dag.full_filepath,
+ file_path=change_file_path(simple_dag.full_filepath),
Review comment:
Oh I see why. It's becuase we're calling `TI.generate_command` from a
SimpleTaskInstance, not a TI. The work Kaxil and I are doing in AIP-24 might
fix this. Your test will be useful though.
/cc @kaxil - if we remove SimpleDag/SimpleTI as part of AIP-24 we should add
in the new test below.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services