You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BaseOperatorPlus Interface describes diff_instance as a float
@abstractmethod
def give_up_diffing(self, level, diff_instance: float) -> bool:
"""
Given a level which includes t1 and t2 in the tree view, and the "distance" between l1 and l2.
do we consider t1 and t2 to be equal or not. The distance is a number between zero to one and is calculated by DeepDiff to measure how similar objects are.
"""
but DeepDiff._use_custom_operator passes the DeepDiff instance instead
for operator in self.custom_operators:
if operator.match(level):
prevent_default = operator.give_up_diffing(level=level, diff_instance=self)
The text was updated successfully, but these errors were encountered:
BaseOperatorPlus Interface describes diff_instance as a float
but DeepDiff._use_custom_operator passes the DeepDiff instance instead
The text was updated successfully, but these errors were encountered: