def add_object(self, obj_key, label_file_id, obj):
        """Adds an :class:`OpenLABELObject` to this collection.

        Args:
            obj_key: the name of the object in the OpenLABEL annotations
            label_file_id: the filename of the annotations file containing this
                label
            obj: the :class:`OpenLABELObject` to add
        """
        obj_id = self._get_element_id(obj_key, label_file_id)
        self._element_id_to_element[obj_id] = obj
Adds an :class:`OpenLABELObject` to this collection.

        Args:
            obj_key: the name of the object in the OpenLABEL annotations
            label_file_id: the filename of the annotations file containing this
                label
            obj: the :class:`OpenLABELObject` to add
        
fiftyone/utils/openlabel.py