josh-fell commented on a change in pull request #21527:
URL: https://github.com/apache/airflow/pull/21527#discussion_r813075864
##########
File path: airflow/providers/http/hooks/http.py
##########
@@ -54,6 +60,10 @@ def __init__(
self._retry_obj: Callable[..., Any]
self.auth_type: Any = auth_type
+ @cached_property
+ def conn(self):
+ return self.get_connection(self.http_conn_id)
Review comment:
Good idea about splitting out the scopes.
To clarify, are you saying we should implement a similar caching change to
all providers now or just those where this functionality would be beneficial
individually (like this PR handles)? Or did you have something else in mind?
--
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]