code: def visualize(id: str, value: Table) -> Visualize:
      if not isinstance(value, Table):
          raise Error(
              f"Expected `value` to be `wandb.Table` type, instead got {type(value).__name__}"
          )
      return Visualize(id=id, data=value)
  
file_path: wandb/wandb/viz.py
imports: from typing import Any, Dict, Optional, Tuple
  from wandb.data_types import Table
  from wandb.errors import Error
label_desc: Use image node_id 2 for calling a global function with example usage: visualize(id, value) and returns: Visualize