cruseakshay commented on issue #55724:
URL: https://github.com/apache/airflow/issues/55724#issuecomment-3760898123

   Hi @stolarekms @arkadiuszbach,
   
   I've submitted a PR to fix this issue: #60650
   
   The fix follows the same pattern as #52119 (Databricks fix) that 
@arkadiuszbach referenced:
   
   - Added `__aenter__`, `__aexit__`, and `close()` methods to 
`AzureDataFactoryAsyncHook`
   - Updated both `ADFPipelineRunStatusSensorTrigger` and 
`AzureDataFactoryTrigger` to use `async with hook:` for proper cleanup
   
   This ensures the `AsyncDataFactoryManagementClient` (and its underlying 
aiohttp session) is properly closed when the trigger completes.
   
   Would appreciate a review when you get a chance!


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