class_docstr: A WBValue stored as a file outside JSON that can be rendered in a media panel.
  
  If necessary, we move or copy the file into the Run's media directory so that it
  gets uploaded.
class_docstr_tok: ["A","WBValue","stored","as","a","file","outside","JSON","that","can","be","rendered","in","a","media","panel",".","If","necessary",",","we","move","or","copy","the","file","into","the","Run","'s","media","directory","so","that","it","gets","uploaded","."]
docstr: Likely will need to override for any more complicated media objects.
docstr_tok: ["Likely","will","need","to","override","for","any","more","complicated","media","objects","."]
code: def from_json(
      cls: Type["Media"], json_obj: dict, source_artifact: "Artifact"
  ) -> "Media":
      """Likely will need to override for any more complicated media objects."""
      return cls(source_artifact.get_entry(json_obj["path"]).download())
  
imports: import hashlib
  import os
  import platform
  import re
  import shutil
  from typing import TYPE_CHECKING, Optional, Sequence, Type, Union, cast
  import wandb
  from wandb import util
  from wandb._globals import _datatypes_callback
  from wandb.sdk.lib import filesystem
  from wandb.sdk.lib.paths import LogicalPath
  from .wb_value import WBValue
label_desc: Use image node_id 9 for calling the Media obj's underlying member method code with example usage: obj.from_json(cls, json_obj, source_artifact) and returns: cls