Exemple #1
0
 def __eq__(self, other: GenerationStep) -> bool:
     return object_attribute_dicts_equal(
         one_dict=self._asdict(), other_dict=other._asdict()
     )
Exemple #2
0
 def __eq__(self, other: Base) -> bool:
     return object_attribute_dicts_equal(
         one_dict=self.__dict__, other_dict=other.__dict__
     )