class_docstr: Used to create an output widget for showing datasets. Used to render the examples
  box.
  Preprocessing: passes the selected sample either as a {list} of data (if type="value") or as an {int} index (if type="index")
  Postprocessing: expects a {list} of {lists} corresponding to the dataset data.
code: def get_config(self):
      config = super().get_config()
  
      config["components"] = []
      config["component_props"] = self.component_props
      config["component_ids"] = []
  
      for component in self._components:
          config["components"].append(component.get_block_name())
  
          config["component_ids"].append(component._id)
  
      return config
  
file_path: gradio/gradio/components/dataset.py
imports: from __future__ import annotations
  from typing import Any, Literal
  from gradio_client.documentation import document, set_documentation_group
  from gradio import processing_utils
  from gradio.components.base import Component, get_component_instance
  from gradio.events import Events
label_desc: Use image node_id 3 for calling the Dataset obj's underlying member method code with example usage: obj.get_config() and returns: config