You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/07/21 06:39:59 UTC

[GitHub] [airflow] uranusjr commented on a diff in pull request #25183: Add auth_type to LivyHook

uranusjr commented on code in PR #25183:
URL: https://github.com/apache/airflow/pull/25183#discussion_r926305833


##########
airflow/providers/apache/livy/hooks/livy.py:
##########
@@ -75,10 +76,12 @@ def __init__(
         livy_conn_id: str = default_conn_name,
         extra_options: Optional[Dict[str, Any]] = None,
         extra_headers: Optional[Dict[str, Any]] = None,
+        auth_type: Optional[Any] = None
     ) -> None:
         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

Review Comment:
   What does `or self.auth_type` do?



-- 
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-unsubscribe@airflow.apache.org

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