jason810496 commented on issue #43897:
URL: https://github.com/apache/airflow/issues/43897#issuecomment-2493644046

   If we implement this on the FastAPI side, I would add a wrapper `async def 
set_async` around the `_set` method to allow the use of `asyncio.gather`. 
Additionally, I have verified that the SQLAlchemy session is thread-safe for 
this case, as the same session object will be used across all coroutines. Ref: 
https://github.com/sqlalchemy/sqlalchemy/issues/5828
   
   If implemented on the CLI side, I agree with @pierrejeambrun  approach.  
   Both works, depends on finial decision.


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