(self, other)
return True
Returns whether two `DataObject` instances are equivalent.

        If the `DataObject` instances are of the same type and contain the
        same data in all their fields, the objects are equivalent.
Returns whether two `DataObject` instances are equivalent.
Returns whether two DataObject instances are equivalent .
def __eq__(self, other):
        """Returns whether two `DataObject` instances are equivalent.

        If the `DataObject` instances are of the same type and contain the
        same data in all their fields, the objects are equivalent.

        """
        if type(self) != type(other):
            return False
        for k, v in self.fields.iteritems():
            if isinstance(v, remoteobjects.fields.Field):
                if getattr(self, k) != getattr(other, k):
                    return False
        return True
def __eq__ ( self , other ) : if type ( self ) != type ( other ) : return False for k , v in self . fields . iteritems ( ) : if isinstance ( v , remoteobjects . fields . Field ) : if getattr ( self , k ) != getattr ( other , k ) : return False return True