class_docstr: Typed objects that can be logged with `wandb.log()` and visualized by wandb.
  
  The objects will be serialized as JSON and always have a _type attribute that
  indicates how to interpret the other fields.
class_docstr_tok: ["Typed","objects","that","can","be","logged","with","`","wandb.log","(",")","`","and","visualized","by","wandb",".","The","objects","will","be","serialized","as","JSON","and","always","have","a","_type","attribute","that","indicates","how","to","interpret","the","other","fields","."]
code: def _set_artifact_target(
      self, artifact: "Artifact", name: Optional[str] = None
  ) -> None:
      assert (
          self._artifact_target is None
      ), "Cannot update artifact_target. Existing target: {}/{}".format(
          self._artifact_target.artifact, self._artifact_target.name
      )
      self._artifact_target = _WBValueArtifactTarget(artifact, name)
  
imports: from typing import TYPE_CHECKING, Any, ClassVar, Dict, List, Optional, Type, Union
  from wandb import util
label_desc: Use image node_id 11 for calling the WBValue obj's underlying member method code with example usage: obj._set_artifact_target(artifact, name) without return types