Taragolis commented on code in PR #39788:
URL: https://github.com/apache/airflow/pull/39788#discussion_r1623019564


##########
airflow/providers/opensearch/hooks/opensearch.py:
##########
@@ -40,13 +44,20 @@ class OpenSearchHook(BaseHook):
     conn_type = "opensearch"
     hook_name = "OpenSearch Hook"
 
-    def __init__(self, open_search_conn_id: str, log_query: bool, **kwargs: 
Any):
+    def __init__(
+        self,
+        open_search_conn_id: str,
+        log_query: bool,
+        open_search_conn_class: type[OpenSearchConnectionClass] | None = 
RequestsHttpConnection,

Review Comment:
   Is it required to change default OpenSearch Connection Type? I guess by 
default it use `urllib3` (None in this case)



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to