Skip to content
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

AttributeError: 'list' object has no attribute 'as_dict' when calling as_dict() on config key with list #30

Closed
vduseev opened this issue Oct 19, 2020 · 0 comments
Labels
wontfix This will not be worked on

Comments

@vduseev
Copy link
Owner

vduseev commented Oct 19, 2020

Summary

When there is a list as value for one of the keys in the config, then trying to use as_dict on it obviously throws an AttributeError:

AttributeError: 'list' object has no attribute 'as_dict'

What should happen?

Actually, that's a correct behavior. It's users responsibility to know that certain key in the Config contains a list instead of dict.

@vduseev vduseev added the wontfix This will not be worked on label Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant