code: def js_ret_spec(self) -> tp.List[str]:
      if self._ret is None:
          return []
      elif isinstance(self._ret, str):
          return [self._ret]
      assert isinstance(
          self._ret, (tuple, list)
      ), "HiPlot: Invalid return type specification. Should be `None`, a string, a list or a tuple."
      return list(self._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 2 for calling the ExperimentStreamlitComponent obj's underlying member method code with example usage: obj.js_ret_spec() and returns: list, list, list