code: def __init__(
      self,
      client: Client,
      artifact: "wandb.Artifact",
      names: Optional[Sequence[str]] = None,
      per_page: int = 50,
  ):
      self.artifact = artifact
      variables = {
          "entityName": artifact.source_entity,
          "projectName": artifact.source_project,
          "artifactTypeName": artifact.type,
          "artifactName": artifact.source_name,
          "fileNames": names,
      }
      # The server must advertise at least SDK 0.12.21
      # to get storagePath
      if not client.version_supported("0.12.21"):
          self.QUERY = gql(
              self.QUERY.loc.source.body.replace("storagePath\n", "")
          )
      super().__init__(client, variables, per_page)
  
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 ArtifactFiles object from inherited base classes: Paginator with example: obj = ArtifactFiles(client, artifact, names, per_page)