ferruzzi commented on code in PR #42808:
URL: https://github.com/apache/airflow/pull/42808#discussion_r1792602384


##########
airflow/api_connexion/endpoints/task_instance_endpoint.py:
##########
@@ -725,7 +657,7 @@ def set_task_instance_note(
         ti.task_instance_note.content = new_note
         ti.task_instance_note.user_id = current_user_id
     session.commit()
-    return task_instance_schema.dump((ti, sla_miss))
+    return task_instance_schema.dump((ti,))

Review Comment:
   I tried that but it blew up in the `task_instance_schema.dump(ti)` call 
because "TaskInstance is not subscriptable"  I just added a commit which 
handles it, let me know what you think



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