hussein-awala opened a new pull request, #35992: URL: https://github.com/apache/airflow/pull/35992
This might be considered a breaking change, but it's completely useless to create the hook in the init method because we create an instance from the trigger in the operator when we defer it, which means an extra needed DB query to fetch the secrets. The original reason for this implementation was accessing `JOB_INTERMEDIATE_STATES` list, which is a class param, so no need to create an instance from the class to get it. cc: @eladkal -- 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]
