dstandish opened a new pull request, #55901:
URL: https://github.com/apache/airflow/pull/55901

   In 2.x sometimes get_connection (which goes to the database) might be called 
without wrapping in sync_to_async.
   
   This did not fail, though it was not good behavior, since it can block the 
event loop.
   
   In 3.0, since we now route db calls through an API, triggers that do this 
fail. The reason is, the code to hit the API wraps the get_connection call with 
async_to_sync, which is forbidden in the asyncio event loop.
   
   Related: #55568
   
   (cherry picked from commit f5b1eb437f11bb2dedc2273d83894f8c868982c3)
   


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