-
-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
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
8.0.0 #460
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
returning unordered sets when any operation other than add or remove was done on the OrderlySet
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #460 +/- ##
==========================================
- Coverage 97.16% 96.70% -0.46%
==========================================
Files 14 14
Lines 3880 3947 +67
==========================================
+ Hits 3770 3817 +47
- Misses 110 130 +20 ☔ View full report in Codecov by Sentry. |
feature: optional pandas and polars support
To stay consistent with other types of reporting, moved items should be relative to t2. Also, moved items should branch deeper to look for more nested changes (similar to item added and removed).
…e_func. Fix unittests to represent the branching deeper
Fix for iterable moved items what are found with iterable_compare_func
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
With the introduction of
threshold_to_diff_deeper
, the values returned are different than in previous versions of DeepDiff. You can still get the older values by settingthreshold_to_diff_deeper=0
. However to signify that enough has changed in this release that the users need to update the parameters passed to DeepDiff, we will be doing a major version update.use_enum_value=True
makes it so when diffing enum, we use the enum's value. It makes it so comparing an enum to a string or any other value is not reported as a type change.threshold_to_diff_deeper=float
is a number between 0 and 1. When comparing dictionaries that have a small intersection of keys, we will report the dictionary as anew_value
instead of reporting individual keys changed. If you set it to zero, you get the same results as DeepDiff 7.0.1 and earlier, which means this feature is disabled. The new default is 0.33 which means if less that one third of keys between dictionaries intersect, report it as a new object.ordered-set
and switched toorderly-set
. Theordered-set
package was not being maintained anymore and starting Python 3.6, there were better options for sets that ordered. I forked one of the new implementations, modified it, and published it asorderly-set
.use_log_scale:bool
andlog_scale_similarity_threshold:float
. They can be used to ignore small changes in numbers by comparing their differences in logarithmic space. This is different than ignoring the difference based on significant digits.iterable_compare_func
is used.