CLARIAH / grlc

grlc builds Web APIs using shared SPARQL queries
http://grlc.io
MIT License
137 stars 32 forks source link

calling yaml.load() without Loader=... is deprecated #349

Closed ecow closed 3 years ago

ecow commented 3 years ago

I got this warning, I suppose some libraries need to be updated (docker version):

/usr/local/lib/python3.6/site-packages/grlc/gquery.py:277: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.

c-martinez commented 3 years ago

Thanks @ecow probably the easiest is to use yaml.safe_load