inveniosoftware / inveniosoftware/dictdiffer
DictDiffer does not track additions of nested dictionaries.
Open
bug
- Dominant language
- Python
- Stars
- 849
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
Hi! There is still an issue probably (see #174):
Package version (if known): v0.9.0
## Describe the bug
DictDiffer does not track additions of nested dictionaries.
## Steps to Reproduce
```
a = {'input': {}, 'output': {}, 'forward': {'WWW': {...}}}
b = {'input': {}, 'output': {}, 'forward': {'WWW': {...}, 'FTP': {...}}}
dictdiffer.diff(a, b, dot_notation=False, path_limit=[('*', '*')])
```
gives []
## Expected behavior
```
[["add", ["forward"], [["FTP", {...}]]]]
```
Contributor guide
Assessment
This issue has not been assessed yet.