+
    Vj                        ^ RI Ht ^ RIt^ RIHt ^RIHt  ! R R]P                  4      t]! 4       t	R R lt
R	 R
 ltR R ltR R ltR# )    )annotationsN)settings)AutoPopulatec                  8    ] tR t^
t$ RtRtR]R&   RtR]R&   RtR# )ModelTranslationThreadLocalz-Holds thread-local data for modeltranslation.NAutoPopulate | Noneauto_populatebool | Noneenable_fallbacks )	__name__
__module____qualname____firstlineno____doc__r	   __annotations__r   __static_attributes__r       T/var/www/idalgo/venv/lib/python3.14/site-packages/modeltranslation/thread_context.pyr   r   
   s    7)-M&-$(k(r   r   c                    V ^8  d   QhRRRR/# )   valuer   returnNoner   )formats   "r   __annotate__r      s     - -0 -T -r   c                    V \         n        R# )z-Set the auto_populate for the current thread.N)_mt_thread_contextr	   r   s   &r   set_auto_populater       s    ',$r   c                    V ^8  d   QhRRRR/# )r   r   r
   r   r   r   )r   s   "r   r   r      s     0 0 0 0r   c                    V \         n        R# )z0Set the enable_fallbacks for the current thread.N)r   r   r   s   &r   set_enable_fallbacksr#      s    */'r   c                   V ^8  d   QhRR/# )r   r   r   r   )r   s   "r   r   r      s     " "L "r   c                 N    \         P                  p V e   V # \        P                  # )z5Return the auto_populate mode for the current thread.)r   r	   r   AUTO_POPULATE)r	   s    r   auto_populate_moder'      s%    &44M !!!r   c                   V ^8  d   QhRR/# )r   r   boolr   )r   s   "r   r   r   (   s     % %4 %r   c                 N    \         P                  p V e   V # \        P                  # )z<Return whether fallbacks are enabled for the current thread.)r   r   r   ENABLE_FALLBACKS)r   s    r   fallbacks_enabledr,   (   s&    )::#$$$r   )
__future__r   	threadingmodeltranslationr   _typingr   localr   r   r    r#   r'   r,   r   r   r   <module>r2      s@    "  % !))// ) 12 -
0
"%r   