amoghrajesh commented on code in PR #45030:
URL: https://github.com/apache/airflow/pull/45030#discussion_r1890329423


##########
airflow/api_fastapi/execution_api/routes/task_instances.py:
##########
@@ -216,6 +216,7 @@ def ti_update_state(
             kwargs=ti_patch_payload.trigger_kwargs,
         )
         session.add(trigger_row)
+        session.flush()

Review Comment:
   Yeah!
   I think it should work too, it is strange that it doesn't.
   
   Tried reading up some items online, doesn't give me much. I think it is some 
game fastapi is playing here with its dependency injection



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