Open
Description
def func(obj, path):
return True if isinstance(obj, int) else False
t1 = {"x": "12"}
t2 = {"x": 1}
print(DeepDiff(t1, t2, exclude_obj_callback=func))
return
{}
func returns True only for t2, but exclude_obj_callback excludes objects from the result. Is this a bug or a feature?
Maybe need to use AND instead of OR here:
Line 430 in 9b70b2b
Metadata
Metadata
Assignees
Labels
No labels