(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:
            logger.warning(
                'Unable to delete the saved graph, it does not appear to be '
                'saved in the first place.')
            return False

        resource_url = (
            f'{self.api.api_root}/sketches/{self._sketch.id}/graphs/'
            f'{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 : logger . warning ( 'Unable to delete the saved graph, it does not appear to be ' 'saved in the first place.' ) return False resource_url = ( f'{self.api.api_root}/sketches/{self._sketch.id}/graphs/' f'{self._resource_id}/' ) response = self . api . session . delete ( resource_url ) return error . check_return_status ( response , logger )