pydistsim.utils.helpers.pydistsim_equal_objects

pydistsim_equal_objects(obj1, obj2)[source]

Compare two objects and their attributes, but allow for non immutable attributes to be equal up to their class.

Parameters:
  • obj1 (object) – The first object to compare.

  • obj2 (object) – The second object to compare.