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


##########
airflow/api_connexion/endpoints/task_instance_endpoint.py:
##########
@@ -716,7 +648,7 @@ def set_task_instance_note(
         error_message = f"Task Instance not found for dag_id={dag_id}, 
run_id={dag_run_id}, task_id={task_id}"
         raise NotFound(error_message)
 
-    ti, sla_miss = result
+    ti = result[0]

Review Comment:
   that code change was what I was missing.  I futzed around trying to get just 
the ti object and it kept returning a one-item tuple.   I need more sqlalchemy 
practice.  Cheers.



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to