code: def get_default_return(
      cls,
      experiment: Experiment,
      ret: tp.Union[str, tp.List[str], None],
  ) -> tp.Any:
      if ret is None:
          return None
      elif isinstance(ret, str):
          return cls.get_default_return_for(experiment, ret)
      assert isinstance(
          ret, (tuple, list)
      ), "HiPlot: Invalid return type specification. Should be `None`, a string, a list or a tuple."
      return tuple(cls.get_default_return(experiment, r) for r in ret)
  
file_path: hiplot/hiplot/streamlit_helpers.py
imports: import typing
  import json
  import uuid
  import warnings
  from pathlib import Path
  from .experiment import Experiment, _is_running_ipython
label_desc: Use image node_id 3 for calling the ExperimentStreamlitComponent obj's underlying member method code with example usage: obj.get_default_return(cls, experiment, ret) and returns: tuple, None, cls