YAMLLoadWarning in bin/gen-yml-from-env.py script
- Dominant language
- Java
- Stars
- 15.3k
- Forks
- 3.8k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 160
Description
**Is your enhancement request related to a problem? Please describe.**
When running `bin/gen-yml-from-env.py` to configure a function worker, I see the following warning:
> bin/gen-yml-from-env.py:62: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
**Describe the solution you'd like**
We should not use a deprecated loader.
Contributor guide
Research direction
Start at line 62 of bin/gen-yml-from-env.py, where the YAML load triggering the warning is used. Run the script while configuring a function worker and confirm that the deprecated-loader warning no longer appears.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 58/100