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

   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, this 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.
   


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