kaxil commented on issue #50708:
URL: https://github.com/apache/airflow/issues/50708#issuecomment-3756154931

   `create_session_async` doesn't need an explicit `session.close()` because it 
uses `async with AsyncSession()` as session: (line 60).
   
   SQLAlchemy's `AsyncSession` is an async context manager that automatically 
handles closing when you exit the async with block. The close happens 
implicitly when the context manager exits.
   


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