vipul007ravi 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_r335926246
##########
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:
Yeah it can be done in processor as well. It is done here because this
change is specifically when we are enqueuing task and sending it to the workers
as the worker need to have its own path of the dag. It might be more relevant
that at other places in the scheduler the full_filepath variable should contain
full path and not the masked one.
----------------------------------------------------------------
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