gen-py/block_config/ttypes.py [931:972]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      oprot.writeListEnd()
      oprot.writeFieldEnd()
    if self.type != None:
      oprot.writeFieldBegin('type', TType.STRUCT, 4)
      self.type.write(oprot)
      oprot.writeFieldEnd()
    oprot.writeFieldStop()
    oprot.writeStructEnd()

  def __repr__(self):
    L = []
    padding = ' ' * 4
    if self.name is not None:
      value = pprint.pformat(self.name, indent=0)
      value = padding.join(value.splitlines(True))
      L.append('    name=%s' % (value))
    if self.block_id is not None:
      value = pprint.pformat(self.block_id, indent=0)
      value = padding.join(value.splitlines(True))
      L.append('    block_id=%s' % (value))
    if self.input_feat_config is not None:
      value = pprint.pformat(self.input_feat_config, indent=0)
      value = padding.join(value.splitlines(True))
      L.append('    input_feat_config=%s' % (value))
    if self.type is not None:
      value = pprint.pformat(self.type, indent=0)
      value = padding.join(value.splitlines(True))
      L.append('    type=%s' % (value))
    return "%s(%s)" % (self.__class__.__name__, "\n" + ",\n".join(L) if L else '')

  def __eq__(self, other):
    if not isinstance(other, self.__class__):
      return False

    return self.__dict__ == other.__dict__ 

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

  # Override the __hash__ function for Python3 - t10434117
  if not six.PY2:
    __hash__ = object.__hash__
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



gen-py/block_config/ttypes.py [1068:1109]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      oprot.writeListEnd()
      oprot.writeFieldEnd()
    if self.type != None:
      oprot.writeFieldBegin('type', TType.STRUCT, 4)
      self.type.write(oprot)
      oprot.writeFieldEnd()
    oprot.writeFieldStop()
    oprot.writeStructEnd()

  def __repr__(self):
    L = []
    padding = ' ' * 4
    if self.name is not None:
      value = pprint.pformat(self.name, indent=0)
      value = padding.join(value.splitlines(True))
      L.append('    name=%s' % (value))
    if self.block_id is not None:
      value = pprint.pformat(self.block_id, indent=0)
      value = padding.join(value.splitlines(True))
      L.append('    block_id=%s' % (value))
    if self.input_feat_config is not None:
      value = pprint.pformat(self.input_feat_config, indent=0)
      value = padding.join(value.splitlines(True))
      L.append('    input_feat_config=%s' % (value))
    if self.type is not None:
      value = pprint.pformat(self.type, indent=0)
      value = padding.join(value.splitlines(True))
      L.append('    type=%s' % (value))
    return "%s(%s)" % (self.__class__.__name__, "\n" + ",\n".join(L) if L else '')

  def __eq__(self, other):
    if not isinstance(other, self.__class__):
      return False

    return self.__dict__ == other.__dict__ 

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

  # Override the __hash__ function for Python3 - t10434117
  if not six.PY2:
    __hash__ = object.__hash__
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



