code: def collection(self, name):
      return ArtifactCollection(
          self.client, self.entity, self.project, name, self.type
      )
  
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 6 for calling the ArtifactType obj's underlying member method code with example usage: obj.collection(name) and returns: ArtifactCollection