allenc97 commented on code in PR #69509:
URL: https://github.com/apache/airflow/pull/69509#discussion_r3575376934


##########
providers/databricks/src/airflow/providers/databricks/hooks/databricks_base.py:
##########
@@ -1167,6 +1233,9 @@ def _get_token(self, raise_error: bool = False) -> str | 
None:
         if self.databricks_conn.extra_dejson.get("federated_token_provider"):
             self.log.debug("Using OIDC token federation with a supplied token 
provider.")
             return 
self._get_federated_databricks_token(self._get_oidc_token_service_url())
+        if self._is_aws_federation():

Review Comment:
   Good catch - added a regression test to assert the precedence behavior when 
both are provided.



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