You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/07/07 16:05:42 UTC

[GitHub] [airflow] ashb commented on a change in pull request #16860: 🚧 Support DAGS folder being in different location on scheduler and runners

ashb commented on a change in pull request #16860:
URL: https://github.com/apache/airflow/pull/16860#discussion_r665512717



##########
File path: airflow/jobs/scheduler_job.py
##########
@@ -497,18 +497,8 @@ def _enqueue_task_instances_with_queued_state(self, task_instances: List[TI]) ->
         """
         # actually enqueue them
         for ti in task_instances:
-            command = TI.generate_command(
-                ti.dag_id,
-                ti.task_id,
-                ti.execution_date,
+            command = ti.command_as_list(
                 local=True,
-                mark_success=False,
-                ignore_all_deps=False,
-                ignore_depends_on_past=False,
-                ignore_task_deps=False,
-                ignore_ti_state=False,

Review comment:
       These are the defaults, we don't need to pass them again




-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org