docstr: Delete the run queue from the wandb backend.
docstr_tok: ["Delete","the","run","queue","from","the","wandb","backend","."]
code: def delete(self):
      """Delete the run queue from the wandb backend."""
      query = gql(
          """
              mutation DeleteRunQueue($id: ID!) {
                  deleteRunQueues(input: {queueIDs: [$id]}) {
                      success
                      clientMutationId
                  }
              }
              """
      )
      variable_values = {"id": self.id}
      res = self._client.execute(query, variable_values)
      if res["deleteRunQueues"]["success"]:
          self._id = None
          self._access = None
          self._default_resource_config_id = None
          self._default_resource_config = None
          self._items = None
      else:
          raise CommError(f"Failed to delete run queue {self.name}")
  
imports: import json
  import os
  import shutil
  import sys
  import time
  from typing import TYPE_CHECKING, Any, Dict, List, Mapping, Optional
  from wandb_gql import gql
  import wandb
  from wandb import util
  from wandb.apis import public
  from wandb.apis.normalize import normalize_exceptions
  from wandb.errors import CommError
  from wandb.sdk.artifacts.artifact_state import ArtifactState
  from wandb.sdk.data_types._dtypes import InvalidType, Type, TypeRegistry
  from wandb.sdk.launch.errors import LaunchError
  from wandb.sdk.launch.utils import LAUNCH_DEFAULT_PROJECT, _fetch_git_repo, apply_patch, convert_jupyter_notebook_to_script
label_desc: Use image node_id 11 for calling the RunQueue obj's underlying member method code with example usage: obj.delete() without return types