from_yaml returns depreciation error
Open
- Dominant language
- Python
- Stars
- 2.8k
- Forks
- 135
- PR merge metrics
- No merged PRs in 30d
Description
When attempting to use Box.from_yaml(string), I get:
"load()" has been removed, use
yaml = YAML(typ='rt')
yaml.load(...)
and register any classes that you use, or check the tag attribute on the loaded data,
instead of file "converters.py", line 138
data = yaml.load(yaml_string, **kwargs)
Contributor guide
Research direction
Start in converters.py at line 138 and trace the Box.from_yaml path to understand how the YAML dependency is called. Check the project’s existing tests or examples for from_yaml, then verify that the method no longer produces the reported deprecation error while preserving its current loading behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 43/100