96e4af6e86e93da021c29a4273dcdfaeab8fdfcf,tensorflow_transform/tf_metadata/dataset_metadata.py,DatasetMetadata,__eq__,#DatasetMetadata#Any#,58

Before Change



  def __eq__(self, other):
    if isinstance(other, self.__class__):
      return self._asdict() == other._asdict()
    return NotImplemented

  def __ne__(self, other):
    return not self == other

After Change



  def __eq__(self, other):
    if isinstance(other, self.__class__):
      return self.__dict__ == other.__dict__
    return NotImplemented

  def __ne__(self, other):
    return not self == other
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 8

Instances


Project Name: tensorflow/transform
Commit Name: 96e4af6e86e93da021c29a4273dcdfaeab8fdfcf
Time: 2017-08-07
Author: tf-transform-dev@google.com
File Name: tensorflow_transform/tf_metadata/dataset_metadata.py
Class Name: DatasetMetadata
Method Name: __eq__


Project Name: tensorflow/transform
Commit Name: 96e4af6e86e93da021c29a4273dcdfaeab8fdfcf
Time: 2017-08-07
Author: tf-transform-dev@google.com
File Name: tensorflow_transform/tf_metadata/dataset_schema.py
Class Name: Axis
Method Name: __eq__


Project Name: tensorflow/transform
Commit Name: 96e4af6e86e93da021c29a4273dcdfaeab8fdfcf
Time: 2017-08-07
Author: tf-transform-dev@google.com
File Name: tensorflow_transform/tf_metadata/dataset_schema.py
Class Name: ColumnSchema
Method Name: __eq__


Project Name: tensorflow/transform
Commit Name: 5b2fa49f9ee24bd079ab0c8d5373a3bfcfcc60b4
Time: 2017-03-07
Author: no-reply@google.com
File Name: tensorflow_transform/tf_metadata/dataset_schema.py
Class Name: Schema
Method Name: __eq__