(self)
return error.check_return_status(response, logger)
Deletes the saved graph from the store.
Deletes the saved graph from the store.
Deletes the saved graph from the store .
def delete(self):
        """Deletes the saved graph from the store."""
        if not self._resource_id:
            raise ValueError(
                'Unable to delete the search template, since the template '
                'does not seem to be saved, which is required.')

        resource_url = (
            f'{self.api.api_root}/searchtemplate/{self._resource_id}/')
        response = self.api.session.delete(resource_url)
        return error.check_return_status(response, logger)
def delete ( self ) : if not self . _resource_id : raise ValueError ( 'Unable to delete the search template, since the template ' 'does not seem to be saved, which is required.' ) resource_url = ( f'{self.api.api_root}/searchtemplate/{self._resource_id}/' ) response = self . api . session . delete ( resource_url ) return error . check_return_status ( response , logger )