(self, other)
return self.id == other.id
Test if this device is the same as the provided device.
Test if this device is the same as the provided device.
Test if this device is the same as the provided device .
def __eq__(self, other):
        """Test if this device is the same as the provided device."""
        return self.id == other.id
def __eq__ ( self , other ) : return self . id == other . id