Keys containing "__a__" at the beginning will be ignored.
leididi opened this issue · 1 comments
Please checkout the F.A.Q page before creating a bug ticket to make sure it is not already addressed.
Describe the bug
Keys containing "__a__" at the beginning will be ignored.
To Reproduce
from deepdiff import DeepDiff
a = { "test": "test_upgrade", "__time__": 1696749349268, "__event_time__": 1695721649091, "__ingestion_time__": 1696749349264, "__topic__": "bbb", "__content__": "123445", "__env__": "prod", "__message_id__": "42213:3665:2-0" }
b = { "test": "test_upgrade", "__time__": 1696749354156, "__event_time__": 1695721649025, "__ingestion_time__": 1696749349264, "__topic__": "aaa", "__content__": "ddd", "__env__": "prod", "__message_id__": "42213:3665:2:0-0-0" }
print(DeepDiff(a,b))
Expected behavior
{}
OS, DeepDiff version and Python version (please complete the following information):
- OS: linux
- Version Linux 2d023edea1d9 6.4.15-orbstack-00099-g032ce27c660e #1 SMP Sun Sep 10 15:23:24 UTC 2023 x86_64 GNU/Linux
- Python Version 3.8.10
- DeepDiff Version 6.6.0
Additional context
The following parameters are invalid:
report_repetition=True, ignore_order=True, ignore_string_type_changes=True,ignore_type_in_groups=[(str, bytes)]
ignore_private_variables=False