amoghrajesh commented on code in PR #50895:
URL: https://github.com/apache/airflow/pull/50895#discussion_r2101744670
##########
task-sdk/src/airflow/sdk/execution_time/context.py:
##########
@@ -180,6 +181,7 @@ def _get_variable(key: str, deserialize_json: bool) -> Any:
import json
var_val = json.loads(var_val)
+ mask_secret(var_val, key) # type: ignore[arg-type]
Review Comment:
Handled it for the case of "str" because
`secrets_backend.get_variable(key=key)` returns str | None. I wonder if it is
right 🤔
--
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]