hb-config
hb-config copied to clipboard
PyYAML yaml.load(input) Deprecation
I used hb-config in python3.7 environment and got the following errors:
/opt/conda/lib/python3.7/site-packages/hbconfig/__init__.py:66: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
return yaml.load(config)
and I checked PyYAML and found that it has been changed to the following format:
yaml.load(input, Loader=yaml.FullLoader)
Hoping you can upload the code.
Many thanks!