pankajkoti commented on code in PR #24967:
URL: https://github.com/apache/airflow/pull/24967#discussion_r921012810
##########
airflow/providers/http/sensors/http.py:
##########
@@ -91,15 +100,26 @@ def __init__(
self.headers = headers or {}
self.extra_options = extra_options or {}
self.response_check = response_check
-
- self.hook = HttpHook(method=method, http_conn_id=http_conn_id)
Review Comment:
Makes sense to me. In that case, I think we can create a clean up story on
our end to adhere to the best practices post our conclusion on this discussion.
We do not need an RC2 for that then, and also for the sake that the operator
still continues to works, I will for the time being, put the hack to create the
hook in our operator init() with our PR.
Also, looping in @kaxil @bharanidharan14 @rajaths010494 @pankajastro for the
discussion.
--
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]