def get_objects(self, stream_infos):
        """Gets any objects that correspond to an info in the given stream
        infos.

        Args:
            stream_infos: a :class:`OpenLABELStreamInfos` used to get
                corresponding objects

        Returns:
            an :class:`OpenLABELObjects` with objects that correspond to any of
            the given stream infos
        """
        stream_objects = OpenLABELObjects()
        for stream_info in stream_infos.infos:
            label_file_id = stream_info.label_file_id
            obj_keys = self._keys_by_label_file_id.get(label_file_id, [])
            for obj_key in obj_keys:
                obj_id = self._get_element_id(label_file_id, obj_key)
                obj = self._get_filtered_object(obj_id, stream_info)
                if obj:
                    stream_objects.add_object(obj_key, label_file_id, obj)

        return stream_objects
Gets any objects that correspond to an info in the given stream
        infos.

        Args:
            stream_infos: a :class:`OpenLABELStreamInfos` used to get
                corresponding objects

        Returns:
            an :class:`OpenLABELObjects` with objects that correspond to any of
            the given stream infos
        
fiftyone/utils/openlabel.py