slotValuesAreEqual

lsst.daf.butler.core.utils.slotValuesAreEqual(self, other)

Test for equality by the contents of all slots, including those of its parents.

Parameters
selfobject

Reference instance.

otherobject

Comparison instance.

Returns
equalbool

Returns True if all the slots are equal in both arguments.