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
Hi,
I would like to iterate over all of the keys / items of a given level.
Ideal behavior:
d=benedict() d['a'][0] = 0 d['a'][1] = 1 d['b'] = 0 print(d.keypaths(level=0)) >>> ['a','b'] print(d.keypaths(level=1)) >>>['a.0','a.1']
And similar functionality for items and other iterators...
The text was updated successfully, but these errors were encountered:
Duplicate of #49, improving the traverse method a level and max_depth options could be added.
level
max_depth
Sorry, something went wrong.
fabiocaccamo
No branches or pull requests
Hi,
I would like to iterate over all of the keys / items of a given level.
Ideal behavior:
And similar functionality for items and other iterators...
Upvote & Fund
The text was updated successfully, but these errors were encountered: