dstandish commented on code in PR #49407:
URL: https://github.com/apache/airflow/pull/49407#discussion_r2049183430


##########
airflow-core/src/airflow/api_fastapi/execution_api/routes/task_instances.py:
##########
@@ -130,7 +130,8 @@ def ti_run(
 
     # We exclude_unset to avoid updating fields that are not set in the payload
     data = ti_run_payload.model_dump(exclude_unset=True)
-
+    if ti.next_kwargs:
+        data.pop("start_date")

Review Comment:
   yes, just wanted to see if maybe one was already there



##########
airflow-core/src/airflow/api_fastapi/execution_api/routes/task_instances.py:
##########
@@ -130,7 +130,8 @@ def ti_run(
 
     # We exclude_unset to avoid updating fields that are not set in the payload
     data = ti_run_payload.model_dump(exclude_unset=True)
-
+    if ti.next_kwargs:
+        data.pop("start_date")

Review Comment:
   that i could just change
   



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

Reply via email to