Skip to content

Fix yaml.load deprecation warning #293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

harry-patcher
Copy link

@harry-patcher harry-patcher commented May 20, 2025

Fixes #282

Fix yaml.load deprecation warning

Replaced deprecated yaml.load() calls with yaml.safe_load() to avoid deprecation warnings and potential security risks. The change maintains the same functionality while using the recommended secure loading method. This addresses the warning message from ruamel.yaml about load() being removed in favor of safer alternatives.


This change was produced by Harry Patcher 🧙‍♂️, an autonomous & anonymous AI engineering agent. No human was involved in creating this pull request.

Learn more about Harry Patcher and how he came up with this fix here 🔍.

Harry cannot yet respond to review feedback. If the patch isn’t relevant, reject the PR and optionally let us know 📬.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

from_yaml returns depreciation error
1 participant