Ë
    	]j¤  ã                   ó€   — d Z ddlZddlmZ  ej
                  d¬«      d„ «       Z ej
                  d¬«      d„ «       Zy)	z Pytest fixtures for tasks tests.é    N)Úflag_setÚ.fflag_fix_all_fit_720_lazy_load_annotations_on)Únamec                 óR   — d„ }| j                  d|«       | j                  d|«       y)z³Enable the lazy load annotations feature flag (FIT-720).

    Uses monkeypatch to patch flag_set at the source module level,
    ensuring all imports see the patched version.
    c                 ó,   — | dk(  ryt        | g|¢­i |¤ŽS )NÚ+fflag_fix_all_fit_720_lazy_load_annotationsT©Úoriginal_flag_set©Úfeature_flagÚargsÚkwargss      úK/root/env/lib/python3.12/site-packages/label_studio/tasks/tests/conftest.pyÚpatched_flag_setzHfflag_fix_all_fit_720_lazy_load_annotations_on.<locals>.patched_flag_set   s#   € ØÐHÒHØÜ  Ð?°Ò?¸Ñ?Ð?ó    úcore.feature_flags.flag_setútasks.api.flag_setN©Úsetattr©Úmonkeypatchr   s     r   r   r      ó.   € ò@ð ×ÑÐ5Ð7GÔHà×ÑÐ,Ð.>Õ?r   Ú/fflag_fix_all_fit_720_lazy_load_annotations_offc                 óR   — d„ }| j                  d|«       | j                  d|«       y)z´Disable the lazy load annotations feature flag (FIT-720).

    Uses monkeypatch to patch flag_set at the source module level,
    ensuring all imports see the patched version.
    c                 ó,   — | dk(  ryt        | g|¢­i |¤ŽS )Nr   Fr	   r   s      r   r   zIfflag_fix_all_fit_720_lazy_load_annotations_off.<locals>.patched_flag_set!   s#   € ØÐHÒHØÜ  Ð?°Ò?¸Ñ?Ð?r   r   r   Nr   r   s     r   r   r      r   r   )Ú__doc__ÚpytestÚcore.feature_flagsr   r
   Úfixturer   r   © r   r   ú<module>r!      sT   ðÙ &Û Ý <ð €‡ÐEÔFñ@ó Gð@ð$ €‡ÐFÔGñ@ó Hñ@r   