uranusjr commented on code in PR #59688:
URL: https://github.com/apache/airflow/pull/59688#discussion_r2638562944
##########
providers/microsoft/azure/src/airflow/providers/microsoft/azure/hooks/msgraph.py:
##########
@@ -58,6 +58,12 @@
from kiota_abstractions.serialization import ParsableFactory
from airflow.providers.common.compat.sdk import Connection
+ from airflow.sdk._shared.secrets_masker import redact
+else:
+ try:
+ from airflow.sdk._shared.secrets_masker import redact
+ except ImportError:
+ from airflow.sdk.execution_time.secrets_masker import redact
Review Comment:
Hmm, a provider is not supposed to import from an underscore module
(private), or from `execution_time`. Maybe we should expose `secrets_masker` at
the top sdk namespace like `timezone`?
--
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]