ashb commented on code in PR #46265:
URL: https://github.com/apache/airflow/pull/46265#discussion_r1934764476
##########
providers/celery/src/airflow/providers/celery/executors/celery_executor_utils.py:
##########
@@ -213,15 +247,15 @@ def send_task_to_executor(
task_tuple: TaskInstanceInCelery,
) -> tuple[TaskInstanceKey, CommandType, AsyncResult | ExceptionWithTraceback]:
"""Send task to executor."""
- key, command, queue, task_to_run = task_tuple
+ key, args, queue, task_to_run = task_tuple
try:
with timeout(seconds=OPERATION_TIMEOUT):
- result = task_to_run.apply_async(args=[command], queue=queue)
+ result = task_to_run.apply_async(args=args, queue=queue)
Review Comment:
This change lets this function be used by v2 and v3
--
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]