Bucky789 commented on PR #60963:
URL: https://github.com/apache/airflow/pull/60963#issuecomment-3797576902

   @shahar1 Thanks for pointing this out.
   I’ve removed the with self: usage so the hook no longer closes the IMAP 
connection on each method call.
   The lifecycle is now fully managed by the caller as intended (e.g. in 
ImapAttachmentSensor).
   Unit tests are updated and passing locally.


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