deepdiff
deepdiff copied to clipboard
DeepDiff: Deep Difference and search of any Python object/data. DeepHash: Hash of any object based on its contents. Delta: Use deltas to reconstruct objects by adding deltas together.
**Describe the bug** DeepDiff parameter "ignore_string_case" does not ignore diff which are same but in different case, when set to True. **To Reproduce** data_1 = { 'User' : { 'AboutMe'...
**Describe the solution you'd like** There's probably a way to do what I'd like to do, but the documentation is very confusing, and I'm not seeing a way to do...
**Describe the bug** `ValueError` is raised when using "0.x" `Decimal` as value and `significant_digits` is lower than the number of decimal digits used as input. **To Reproduce** ```python Python 3.8.13...
`DeepDiff` does not currently seem able to detect differences between precompiled regex patterns. >>> from deepdiff import DeepDiff >>> import re >>> pattern_1 = re.compile('foo') >>> pattern_2 = re.compile('bar') >>>...
It appears DeepHash ignores the order of the given object by default to compute a combined hash. ``` # 3 example objects x = {'a':0, 'b':[1,2,3]} # a baseline example...
**Describe the bug** DeepDiff is not pointing out different objectIds (bson/mongodb) in dicts. **To Reproduce** Create two dicts with two different ObjectId inside of them and use DeepDiff() **Expected behavior**...
**Describe the bug** `DeepDiff` fails when 2 new fields are added in `t2` in different nested dictionary fields. The library identifies correctly the name of the new fields, but it...
6.7.2
- [x] fixes the issue with hashing `datetime.date` objects where it treated them as numbers instead of dates.
Please checkout the [F.A.Q](https://zepworks.com/deepdiff/current/faq.html) page before creating a bug ticket to make sure it is not already addressed. **Describe the bug** An upstream provider sends us a JSON event with...
Error after comparing: Can not produce a hash (type datetime.date doesn't define __round__ method)
DeepDiff has crashing comparing on the stage of hashes creating. Compare two lists of dictionaries with type `date` and `True` for parameters `ignore_order` and `ignore_numeric_type_changes`: > import datetime > >...