class_docstr: Media that is treated in batches.
  
  E.g. images and thumbnails. Apart from images, we just use these batches to help
  organize files by name in the media directory.
class_docstr_tok: ["Media","that","is","treated","in","batches",".","E.g",".","images","and","thumbnails",".","Apart","from","images",",","we","just","use","these","batches","to","help","organize","files","by","name","in","the","media","directory","."]
code: def seq_to_json(
      cls: Type["BatchableMedia"],
      seq: Sequence["BatchableMedia"],
      run: "LocalRun",
      key: str,
      step: Union[int, str],
  ) -> dict:
      raise NotImplementedError
  
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 2 for calling the BatchableMedia obj's underlying member method code with example usage: obj.seq_to_json(cls, seq, run, key, step) without return types