code: def __eq__(self, other):
      return isinstance(other, MyArtifact) and self.x == other.x
  
file_path: tfx/tfx/dsl/input_resolution/ops/slice_op_test.py
imports: from absl.testing import parameterized
  import tensorflow
  from tfx.dsl.input_resolution.ops import ops
  from tfx.dsl.input_resolution.ops import test_utils
  from tfx.orchestration.portable.input_resolution import exceptions
  from tfx.types import artifact
label_desc: Use image node_id 2 for calling the MyArtifact obj's underlying member method code with example usage: obj.__eq__(other) and returns: unknown