Closed JoshZastrow closed 4 years ago
Is PyYAML installed in your environment? If not, anyconfig cannot load YAML data.
Ah great -- much appreciated! Didn't realize I needed to install that package separately.
That's good ;-)
Although the doc has a note about it (https://github.com/ssato/python-anyconfig#supported-configuration-formats), maybe it needs some updates and/or fixes. Thanks for your report making me notice about that!
I have an example credentials.yml file stored in my project folder
conf/local
config/local/credentials.yml
Which I verified in a python session:
However, anyconfig cannot load this file using the
load
function as suggested in the docs:I did try with the absolute path, which made no difference. Aren't yml's processed by anyconfig?