code: def load(self):
      query = gql(
          """
          query ProjectArtifactType(
              $entityName: String!,
              $projectName: String!,
              $artifactTypeName: String!
          ) {
              project(name: $projectName, entityName: $entityName) {
                  artifactType(name: $artifactTypeName) {
                      id
                      name
                      description
                      createdAt
                  }
              }
          }
          """
      )
      response: Optional[Mapping[str, Any]] = self.client.execute(
          query,
          variable_values={
              "entityName": self.entity,
              "projectName": self.project,
              "artifactTypeName": self.type,
          },
      )
      if (
          response is None
          or response.get("project") is None
          or response["project"].get("artifactType") is None
      ):
          raise ValueError(
              "Could not find artifact type %s" % self.type
          )
      self._attrs = response["project"]["artifactType"]
      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 2 for calling the ArtifactType obj's underlying member method code with example usage: obj.load() and returns: self