def delete(self):
        """
        Deletes the object. Returns without doing anything if the object is
        new.
        """

        if not self.id:
            return
        if not self._loaded:
            self.reload()
        return self.http_delete(self.id, etag=self.etag)
def delete ( self ) : if not self . id : return if not self . _loaded : self . reload ( ) return self . http_delete ( self . id , etag = self . etag )
Deletes the object. Returns without doing anything if the object is
        new.