You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please checkout the F.A.Q page before creating a bug ticket to make sure it is not already addressed.
Describe the bug
When using the deepdiff library to discern the differences between two dictionaries and generate a delta, an unexpected repetition of elements occurs.
Expected behavior
I anticipated the only difference between d1 and d2 to be the {'id': 4} entry.
OS, DeepDiff version and Python version (please complete the following information):
OS: macOS
Version Ventura 13.4.1
Python Version 3.9.0
DeepDiff Version 6.3.0
Additional context
The result produced was {'a': [{'id': 1}, {'id': 1}, {'id': 1}, {'id': 1}, {'id': 2}, {'id': 3}, {'id': 4}]}, which had four repetitions of {'id': 1}.
I've not found any similar issue on Stack Overflow, and I've reviewed open and closed issues on the deepdiff GitHub repository without identifying any similar scenarios.
Related Research: I've looked through Delta Documentation, but it didn't provide clarity for this particular case.
Thanks in advance
The text was updated successfully, but these errors were encountered:
Please checkout the F.A.Q page before creating a bug ticket to make sure it is not already addressed.
Describe the bug
When using the deepdiff library to discern the differences between two dictionaries and generate a delta, an unexpected repetition of elements occurs.
To Reproduce
Expected behavior
I anticipated the only difference between d1 and d2 to be the {'id': 4} entry.
OS, DeepDiff version and Python version (please complete the following information):
Additional context
The result produced was {'a': [{'id': 1}, {'id': 1}, {'id': 1}, {'id': 1}, {'id': 2}, {'id': 3}, {'id': 4}]}, which had four repetitions of {'id': 1}.
I've not found any similar issue on Stack Overflow, and I've reviewed open and closed issues on the deepdiff GitHub repository without identifying any similar scenarios.
Related Research: I've looked through Delta Documentation, but it didn't provide clarity for this particular case.
Thanks in advance
The text was updated successfully, but these errors were encountered: