karunpoudel commented on code in PR #56228:
URL: https://github.com/apache/airflow/pull/56228#discussion_r2392314314


##########
providers/microsoft/azure/src/airflow/providers/microsoft/azure/hooks/base_azure.py:
##########
@@ -96,8 +103,9 @@ def get_conn(self) -> Any:
 
         :return: the authenticated client.
         """
+        if not self.sdk_client:
+            raise ValueError("`sdk_client` must be provided to AzureBaseHook 
to use `get_conn` method.")

Review Comment:
   sdk_client only required in get_conn method. It's not required in 
get_credential or get_token methods.



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