New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not pass sample codes from README.md. #57
Comments
@ChiahungTai Thanks for the report. The readme is indeed outdated:
In the meanwhile, the following should work:
|
Thanks for the quick response. :) |
@ChiahungTai 2.1.2 should now raised an error if the source is missing. |
I have upgraded the dataconf to 2.1.2. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can not pass below sample codes from README.md.
First error is about below line.
hello: string =>no string
After replace string to str, I got below error msgs.
"
dataconf
../../../opt/anaconda3/envs/test/lib/python3.8/site-packages/dataconf/main.py:89: in on
conf = ConfigTree.merge_configs(conf, nxt)
../../../opt/anaconda3/envs/test/lib/python3.8/site-packages/pyhocon/config_tree.py:61: in merge_configs
a[key] = value
E TypeError: list indices must be integers or slices, not str
"
The text was updated successfully, but these errors were encountered: