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


##########
airflow/providers/apache/livy/hooks/livy.py:
##########
@@ -87,7 +87,8 @@ def __init__(
         super().__init__(http_conn_id=livy_conn_id)
         self.extra_headers = extra_headers or {}
         self.extra_options = extra_options or {}
-        self.auth_type = auth_type or self.auth_type
+        if auth_type:
+            self.auth_type = auth_type

Review Comment:
   I needed to adjust it, since it would always set the default `HTTPBasicAuth` 
from the parent class property and then complain about the lack of `username` 
and `password` to initialize it. 



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