class_docstr: Handles loading and storing Artifact reference-type files.
docstr: Store the file or directory at the given path within the specified artifact.
  
  Arguments:
      artifact: The artifact doing the storing
      path (str): The path to store
      name (str): If specified, the logical name that should map to `path`
  
  Returns:
      (list[ArtifactManifestEntry]): A list of manifest entries to store within the artifact
docstr_tok: ["Store","the","file","or","directory","at","the","given","path","within","the","specified","artifact",".","Arguments",":","artifact",":","The","artifact","doing","the","storing","path","(","str",")",":","The","path","to","store","name","(","str",")",":","If","specified",",","the","logical","name","that","should","map","to","`","path","`","Returns",":","(","list","[","ArtifactManifestEntry","]",")",":","A","list","of","manifest","entries","to","store","within","the","artifact"]
code: def store_path(
      self,
      artifact: "Artifact",
      path: Union[URIStr, FilePathStr],
      name: Optional[StrPath] = None,
      checksum: bool = True,
      max_objects: Optional[int] = None,
  ) -> Sequence[ArtifactManifestEntry]:
      """Store the file or directory at the given path within the specified artifact.
  
      Arguments:
          artifact: The artifact doing the storing
          path (str): The path to store
          name (str): If specified, the logical name that should map to `path`
  
      Returns:
          (list[ArtifactManifestEntry]): A list of manifest entries to store within the artifact
      """
      client_id = util.host_from_path(path)
      target_path = util.uri_from_path(path)
      target_artifact = artifact_instance_cache.get(client_id)
      if not isinstance(target_artifact, wandb.Artifact):
          raise RuntimeError(
              "Local Artifact not found - invalid reference"
          )
      target_entry = target_artifact._manifest.entries[target_path]  # type: ignore
      if target_entry is None:
          raise RuntimeError(
              "Local entry not found - invalid reference"
          )
  
      # Return the new entry
      return [
          ArtifactManifestEntry(
              path=name or os.path.basename(path),
              ref=path,
              size=0,
              digest=target_entry.digest,
          )
      ]
  
file_path: wandb/wandb/sdk/artifacts/storage_handlers/wb_local_artifact_handler.py
imports: import os
  from typing import TYPE_CHECKING, Optional, Sequence, Union
  import wandb
  from wandb import util
  from wandb.sdk.artifacts.artifact_instance_cache import artifact_instance_cache
  from wandb.sdk.artifacts.artifact_manifest_entry import ArtifactManifestEntry
  from wandb.sdk.artifacts.storage_handler import StorageHandler
  from wandb.sdk.lib.paths import FilePathStr, StrPath, URIStr
label_desc: Use image node_id 4 for calling the WBLocalArtifactHandler obj's underlying member method code with example usage: obj.store_path(artifact, path, name, checksum, max_objects) and returns: list