amoghrajesh commented on code in PR #50895:
URL: https://github.com/apache/airflow/pull/50895#discussion_r2104005054


##########
task-sdk/src/airflow/sdk/execution_time/context.py:
##########
@@ -180,6 +181,8 @@ def _get_variable(key: str, deserialize_json: bool) -> Any:
                     import json
 
                     var_val = json.loads(var_val)
+                if isinstance(var_val, str):
+                    mask_secret(var_val, key)

Review Comment:
   Please feel free to reopen if you disagree, can fix in a follow up :D 



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