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
Package version (if known): 0.9.0
There seems to be an error when more than two items are deleted from a list:
import dictdiffer before = [{"idx": 1}, {"idx": 2}, {"idx": 3}, {"idx": 4}] after = [{"idx": 1}] dd = dictdiffer.diff(before, after) print(dictdiffer.revert(dd, after))
prints
[{'idx': 1}, {'idx': 2}, {'idx': 4}, {'idx': 3}]
Try the code above.
It should print
[{'idx': 1}, {'idx': 2}, {'idx': 3}, {'idx': 4}]
It seems to occur only if more than 2 items are deleted - for 1 or 2 deleted items everything works fine.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Package version (if known): 0.9.0
Describe the bug
There seems to be an error when more than two items are deleted from a list:
prints
Steps to Reproduce
Try the code above.
Expected behavior
It should print
Additional context
It seems to occur only if more than 2 items are deleted - for 1 or 2 deleted items everything works fine.
The text was updated successfully, but these errors were encountered: