kaxil commented on code in PR #54449:
URL: https://github.com/apache/airflow/pull/54449#discussion_r2294124487
##########
airflow-core/src/airflow/dag_processing/processor.py:
##########
@@ -409,6 +409,10 @@ def _handle_request(self, msg: ToManager, log:
FilteringBoundLogger, req_id: int
elif isinstance(msg, GetVariable):
var = self.client.variables.get(msg.key)
if isinstance(var, VariableResponse):
+ if var.value:
+ from airflow.sdk.log import mask_secret
+
+ mask_secret(var.value, var.key)
Review Comment:
>however, it doesnt work as expected for triggerer if I remove it.
Is there a test that fails, what's the error?
--
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]