We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Python version 3.7.4
Package version 0.14.0
Current behavior (bug description) I tried the following:
from benedict import benedict key = ['1', '2'] dictionary = {'1' : {'2' : 'two'}} d = benedict(dictionary) print(d.get(key)) key = ['1'] dictionary = {'1' : 'one'} d = benedict(dictionary) print(d.get(key))
'two' will be printed but 'one' not. I get an type error: TypeError: unhashable type: 'list'
Expected behavior I expected that the last command will print 'one'.
The text was updated successfully, but these errors were encountered:
@mathiasrabe thanks for reporting this, I will fix it as soon as possible.
Sorry, something went wrong.
Fixed get doesn't work when the key is a list with one element. #5
d49abdf
You can install 0.14.1 version.
0.14.1
fabiocaccamo
No branches or pull requests
Python version
3.7.4
Package version
0.14.0
Current behavior (bug description)
I tried the following:
'two' will be printed but 'one' not. I get an type error: TypeError: unhashable type: 'list'
Expected behavior
I expected that the last command will print 'one'.
The text was updated successfully, but these errors were encountered: