def open_sample(self, id=None, group_id=None):
        """Opens the specified sample or group in the App's sample modal.

        Args:
            id (None): a sample ID to open in the modal
            group_id (None): a group ID to open in the modal
        """
        return self._ctx.trigger(
            "open_sample", {"id": id, "group_id": group_id}
        )
Opens the specified sample or group in the App's sample modal.

        Args:
            id (None): a sample ID to open in the modal
            group_id (None): a group ID to open in the modal
        
fiftyone/operators/operations.py