code: def __init__(
      self,
      client: Client,
      entity: str,
      project: str,
      name: str,
      type: str,
      attrs: Optional[Mapping[str, Any]] = None,
  ):
      self.client = client
      self.entity = entity
      self.project = project
      self.name = name
      self.type = type
      self._attrs = attrs
      if self._attrs is None:
          self.load()
      self._aliases = [
          a["node"]["alias"] for a in self._attrs["aliases"]["edges"]
      ]
  
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 1 to create a new ArtifactCollection object  with example: obj = ArtifactCollection(client, entity, project, name, type, attrs)