docstr: Delete the entire artifact collection.
docstr_tok: ["Delete","the","entire","artifact","collection","."]
code: def delete(self):
      """Delete the entire artifact collection."""
      if self.is_sequence():
          mutation = gql(
              """
                  mutation deleteArtifactSequence($id: ID!) {
                      deleteArtifactSequence(input: {
                          artifactSequenceID: $id
                      }) {
                          artifactCollection {
                              state
                          }
                      }
                  }
                  """
          )
      else:
          mutation = gql(
              """
                  mutation deleteArtifactPortfolio($id: ID!) {
                      deleteArtifactPortfolio(input: {
                          artifactPortfolioID: $id
                      }) {
                          artifactCollection {
                              state
                          }
                      }
                  }
                  """
          )
      self.client.execute(mutation, variable_values={"id": self.id})
  
imports: import json
  from typing import TYPE_CHECKING, Any, Mapping, Optional, Sequence
  from wandb_gql import Client, gql
  import wandb
  from wandb.apis import public
  from wandb.apis.normalize import normalize_exceptions
  from wandb.apis.paginator import Paginator
label_desc: Use image node_id 7 for calling the ArtifactCollection obj's underlying member method code with example usage: obj.delete() without return types