code: def load(self):
      query = gql(
          """
          query ArtifactCollection(
              $entityName: String!,
              $projectName: String!,
              $artifactTypeName: String!,
              $artifactCollectionName: String!,
              $cursor: String,
              $perPage: Int = 1000
          ) {
              project(name: $projectName, entityName: $entityName) {
                  artifactType(name: $artifactTypeName) {
                      artifactCollection: %s(name: $artifactCollectionName) {
                          id
                          name
                          description
                          createdAt
                          aliases(after: $cursor, first: $perPage){
                              edges {
                                  node {
                                      alias
                                  }
                                  cursor
                              }
                              pageInfo {
                                  endCursor
                                  hasNextPage
                              }
                          }
                      }
                  }
              }
          }
          """
          % artifact_collection_edge_name(
              server_supports_artifact_collections_gql_edges(
                  self.client
              )
          )
      )
      response = self.client.execute(
          query,
          variable_values={
              "entityName": self.entity,
              "projectName": self.project,
              "artifactTypeName": self.type,
              "artifactCollectionName": self.name,
          },
      )
      if (
          response is None
          or response.get("project") is None
          or response["project"].get("artifactType") is None
          or response["project"]["artifactType"].get(
              "artifactCollection"
          )
          is None
      ):
          raise ValueError(
              "Could not find artifact type %s" % self.type
          )
      self._attrs = response["project"]["artifactType"][
          "artifactCollection"
      ]
      return self._attrs
  
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 5 for calling the ArtifactCollection obj's underlying member method code with example usage: obj.load() and returns: self