-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
filter method not taking key_path_separator in consideration #4
Comments
Thank you for reporting this issue. The same problem affects also all methods that return a new benedict instance. |
In the meanwhile you can fix it by doing: d1 = benedict(d.filter(lambda k, v: True), keypath_separator=d.keypath_separator) |
Thanks for the quick response : )
|
I understand the problem, thank you for having explained it better. |
…ilter, flatten, invert, subset methods. #4
You can install |
Python version
3.7.4
Package version
0.14.0
Current behavior (bug description)
d = benedict()
d.keypath_separator = '$'
--implementation--
print (d.keypath_separator)
d1 = d.filter(lambda k, v: True)
print (d1.keypath_separator)
The text was updated successfully, but these errors were encountered: