sirVir commented on code in PR #29206:
URL: https://github.com/apache/airflow/pull/29206#discussion_r1141489382


##########
airflow/providers/http/hooks/http.py:
##########
@@ -102,6 +113,10 @@ def get_conn(self, headers: dict[Any, Any] | None = None) 
-> requests.Session:
                 self.base_url = self.base_url + ":" + str(conn.port)
             if conn.login:
                 session.auth = self.auth_type(conn.login, conn.password)
+            elif self._auth_type and self.auth_args:
+                    session.auth = self.auth_type(*self.auth_args)
+            elif self._auth_type:
+                session.auth = self.auth_type()

Review Comment:
   Hmm, it looks like it wasn't the tests but the `livy` hook which needed a 
change, please see the comment and let me know if it is ok to adjust it like 
that. 



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