kaxil commented on code in PR #54449:
URL: https://github.com/apache/airflow/pull/54449#discussion_r2292282709
##########
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:
Why here? We already have it in
`task-sdk/src/airflow/sdk/execution_time/context.py:_get_variable`
--
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]