bugraoz93 commented on code in PR #61822:
URL: https://github.com/apache/airflow/pull/61822#discussion_r2808099521


##########
airflow-ctl/src/airflowctl/api/operations.py:
##########
@@ -794,33 +856,12 @@ def edit(
         body_dict: dict[str, Any] = {"value": parsed_value}
         if map_index is not None:
             body_dict["map_index"] = map_index
-        body = XComUpdateBody(**body_dict)
+        body = self.ctl_gen_schemas.XComUpdateBody(**body_dict)
         try:
             self.response = self.client.patch(
                 
f"dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/xcomEntries/{key}",
-                json=body.model_dump(mode="json", exclude_unset=True),

Review Comment:
   Removed this because I checked and see that this will be released with 
3.2.0, which we can re-add after we support 3.2.0 in airflowctl



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