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_r335942699
##########
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:
This is not the right fix for this issue, and is hacking around the problem
by adding another place that is doing this logic.
This goes through
https://github.com/apache/airflow/blob/ac42428bf530c259ab1b0dca08458c1ebf49b04a/airflow/models/taskinstance.py#L284-L290
which should already do this substition. Can you find out why it is not
anymore?
----------------------------------------------------------------
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