Open montythepython opened 6 months ago
Hello, I ran into this issue
"safe_load()" has been removed, use
yaml = YAML(typ='safe', pure=True) yaml.load(...)
instead of file "/home/xxx/Documents/xxx/venv/lib/python3.11/site-packages/vext/conf/init.py", line 22
data = yaml.safe_load(f)
I went to the file and modified it but the file has already:
import ruamel.yaml as yaml
So there is no recognition of "YAML"
If I change the import to:
import ruamel.yaml as YAML
I get
yaml = YAML(typ='safe', pure=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: 'module' object is not callable
Thanks in advance for any inputs
Most likely a duplicate of #92.
Cheers - I really need to do a release, in the meantime installing from the master branch should help.
Hello, I ran into this issue
"safe_load()" has been removed, use
yaml = YAML(typ='safe', pure=True) yaml.load(...)
instead of file "/home/xxx/Documents/xxx/venv/lib/python3.11/site-packages/vext/conf/init.py", line 22
data = yaml.safe_load(f)
I went to the file and modified it but the file has already:
import ruamel.yaml as yaml
So there is no recognition of "YAML"
If I change the import to:
import ruamel.yaml as YAML
I get
yaml = YAML(typ='safe', pure=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: 'module' object is not callable
Thanks in advance for any inputs