amoghrajesh commented on code in PR #54449:
URL: https://github.com/apache/airflow/pull/54449#discussion_r2285738898
##########
airflow-core/tests/unit/jobs/test_triggerer_job.py:
##########
@@ -656,7 +656,9 @@ async def run(self, **args) -> AsyncIterator[TriggerEvent]:
from airflow.sdk import Variable
from airflow.sdk.execution_time.xcom import XCom
- from airflow.sdk.log import mask_secret
+
+ # Use sdk masker in dag processor and triggerer because those use the
task sdk machinery
+ from airflow.sdk.secrets_masker import mask_secret
Review Comment:
Updated it as such in
https://github.com/apache/airflow/pull/54449/commits/9a02776ebf5c10b22bd4abbaf1caaf7f859f258c
--
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]