Box icon indicating copy to clipboard operation
Box copied to clipboard

from_yaml returns depreciation error

Open wabiloo opened this issue 1 year ago • 2 comments

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)

wabiloo avatar Nov 07 '24 13:11 wabiloo

What version of box are you using? That shouldn't be happening with latest 7.2.0

python -c "import box; print(box.__version__)"
7.2.0

cdgriffith avatar Dec 10 '24 02:12 cdgriffith