We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7286e5 commit 7f4935bCopy full SHA for 7f4935b
βairflow/providers/google/cloud/operators/cloud_build.py
@@ -188,7 +188,7 @@ def prepare_template(self) -> None:
188
return
189
with open(self.build_raw) as file:
190
if any(self.build_raw.endswith(ext) for ext in ['.yaml', '.yml']):
191
- self.build = yaml.load(file.read(), Loader=yaml.FullLoader)
+ self.build = yaml.safe_load_all(file.read())
192
if self.build_raw.endswith('.json'):
193
self.build = json.loads(file.read())
194
0 commit comments