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_r335925929
##########
File path: airflow/jobs/scheduler_job.py
##########
@@ -1077,7 +1080,12 @@ def _enqueue_task_instances_with_queued_state(self,
simple_dag_bag,
:param simple_dag_bag: Should contains all of the task_instances' dags
:type simple_dag_bag: airflow.utils.dag_processing.SimpleDagBag
"""
+
TI = models.TaskInstance
+
+ def change_file_path(full_filepath):
+ return re.sub(DAGS_FOLDER, 'DAGS_FOLDER', full_filepath)
Review comment:
Right. Changes Done.
----------------------------------------------------------------
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