class_docstr: A single entry in an artifact manifest.
class_docstr_tok: ["A","single","entry","in","an","artifact","manifest","."]
docstr: Get the reference URL that is targeted by this artifact entry.
  
  Returns:
      (str): The reference URL of this artifact entry.
  
  Raises:
      ValueError: If this artifact entry was not a reference.
docstr_tok: ["Get","the","reference","URL","that","is","targeted","by","this","artifact","entry",".","Returns",":","(","str",")",":","The","reference","URL","of","this","artifact","entry",".","Raises",":","ValueError",":","If","this","artifact","entry","was","not","a","reference","."]
code: def ref_target(self) -> Union[FilePathStr, URIStr]:
      """Get the reference URL that is targeted by this artifact entry.
  
      Returns:
          (str): The reference URL of this artifact entry.
  
      Raises:
          ValueError: If this artifact entry was not a reference.
      """
      if self.ref is None:
          raise ValueError(
              "Only reference entries support ref_target()."
          )
      if self._parent_artifact is None:
          return self.ref
      return (
          self._parent_artifact.manifest.storage_policy.load_reference(
              self._parent_artifact.manifest.entries[self.path],
              local=False,
          )
      )
  
file_path: wandb/wandb/sdk/artifacts/artifact_manifest_entry.py
imports: import json
  import os
  from pathlib import Path
  from typing import TYPE_CHECKING, Dict, Optional, Union
  from urllib.parse import urlparse
  from wandb.errors.term import termwarn
  from wandb.sdk.lib import filesystem
  from wandb.sdk.lib.hashutil import B64MD5, ETag, b64_to_hex_id, hex_to_b64_id, md5_file_b64
  from wandb.sdk.lib.paths import FilePathStr, LogicalPath, StrPath, URIStr
label_desc: Use image node_id 7 for calling the ArtifactManifestEntry obj's underlying member method code with example usage: obj.ref_target() and returns: self, self