def _on_curve_edited(self):
        self._cmd_queue.add("write_settings")
        self._update_tree_widgets()
Adds an attachment to product with passed product_id.
dataset/ETHPy150Open tobspr/RenderPipeline/toolkit/day_time_editor/main.py/DayTimeEditor._on_curve_edited--crossover with--dataset/ETHPy150Open diefenbach/django-lfs/lfs/manage/product/attachments.py/add_attachment