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
Failure to initialize Config object #16
Comments
Thanks for filing this! This is definitely a bug in the documentation. As you've discovered Do you have any interest/time in correcting the documentation and submitting a pull request? |
Yeah totally! I'm a bit busy now, but I'll open up a PR soon to the docs. Loving the package so far! |
I'm preparing a new release so I thought I'd fix this docs issue myself. Sorry. |
fyi, I noticed this bug is still in the documentation: https://donfig.readthedocs.io/en/latest/configuration.html#configuration-object
Did the docs get rebuilt as part of the 0.7.0 release? |
Looks like there is a syntax error in the sphinx config. Fixing... |
🤦♂️ Looks like readthedocs was defaulting to Python 2.7 and the "master" branch so it was double-failing (py3 only and "main"). |
@jhamman If you do a forced refresh of the Edit: And pull request builds on RTD should be enabled from now on. |
Thanks @djhoese - looks like its all working now. Thanks! |
Issue description
Hi there, I'm trying to use Donfig for a project and ran into a potential bug when trying to setup a Config.
When setting up a Config and adding default values via a dict:
I get the
AttributeError
:If I pass defaults as a list, the config object seems to be created without issues.
The text was updated successfully, but these errors were encountered: