Subham-KRLX commented on PR #66077:
URL: https://github.com/apache/airflow/pull/66077#issuecomment-4345282289

   > one further point - the error from the issue occurs when importing 
`airflow.configuration.conf` from `airflow.settings`, which does implement the 
`mask_secrets()` method. I think we need to understand why the sub class isn't 
instantiated there
   
   Good point settings.py does import conf from airflow.configuration which 
already has mask_secrets() so the real question is why AirflowSDKConfigParser 
ends up as conf in the reporter's setup my fix makes the SDK parser safe to 
call regardless but the root cause of why the wrong class is being used as conf 
is worth digging into further.


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