code: def get_selected(self) -> t.List[exp.Datapoint]:
      last_selected_uids = self._last_data_per_type.get("selected_uids")
      if last_selected_uids is None:
          raise self.no_data_received_error
      selected_set = set(last_selected_uids)
      datapoints = [
          i for i in self._exp.datapoints if i.uid in selected_set
      ]
      assert len(datapoints) == len(selected_set)
      return datapoints
  
imports: import uuid
  import html
  import typing
  import json
  from pathlib import Path
  import IPython.display
  from ipykernel.comm import Comm
  from .None import experiment
  from .render import escapejs, make_experiment_standalone_page
label_desc: Use image node_id 2 for calling the IPythonExperimentDisplayed obj's underlying member method code with example usage: obj.get_selected() and returns: datapoints