(self)
return error.check_return_status(response, logger)
Deletes the sketch.
Deletes the sketch.
Deletes the sketch .
def delete(self):
        """Deletes the sketch."""
        if self.is_archived():
            raise RuntimeError(
                'Unable to delete an archived sketch, first '
                'unarchive then delete.')

        resource_url = '{0:s}/sketches/{1:d}/'.format(
            self.api.api_root, self.id)
        response = self.api.session.delete(resource_url)
        return error.check_return_status(response, logger)
def delete ( self ) : if self . is_archived ( ) : raise RuntimeError ( 'Unable to delete an archived sketch, first ' 'unarchive then delete.' ) resource_url = '{0:s}/sketches/{1:d}/' . format ( self . api . api_root , self . id ) response = self . api . session . delete ( resource_url ) return error . check_return_status ( response , logger )