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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]