Skip to content

filter method not taking key_path_separator in consideration #4

@rbentaarit

Description

@rbentaarit

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)

$
.
This behavior makes me loose the correct structure when I have '.' in the key parameters.
Expected behavior
$
$

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions