ashb commented on a change in pull request #13022:
URL: https://github.com/apache/airflow/pull/13022#discussion_r541323083
##########
File path: airflow/models/variable.py
##########
@@ -129,22 +142,37 @@ def get(
else:
if deserialize_json:
return json.loads(var_val)
+ elif deserialize_yaml:
+ return yaml.load(var_val)
Review comment:
```suggestion
return yaml.safe_load(var_val)
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]