+
    Tjr                     8    ^ RI t ^ RIHt ^ RIHt ^ RIHt R tR# )    N)get_running_loopwraps)SynchronousOnlyOperationc                N   a  V 3R lp\        S 4      '       d   S pRo V! V4      # V# )z
Decorator to mark functions as async-unsafe. Someone trying to access
the function while in an async context will get an error message.
c                 4   <a  \        S 4      V V3R  l4       pV# )c                     <  \        4        \        P                  P                  R 4      '       g   \	        S4      h S! V / VB #   \
         d     Li ; i)DJANGO_ALLOW_ASYNC_UNSAFE)r   osenvirongetr   RuntimeError)argskwargsfuncmessages   *,I/var/www/idalgo/venv/lib/python3.14/site-packages/django/utils/asyncio.pyinner.async_unsafe.<locals>.decorator.<locals>.inner   s[    < " zz~~&ABB27;; C (((   s   
A AAr   )r   r   r   s   f r   	decoratorasync_unsafe.<locals>.decorator   s     	t
	) 

	)     zKYou cannot call this from an async context - use a thread or sync_to_async.)callable)r   r   r   s   f  r   async_unsafer      s6    "  	 r   )r   asyncior   	functoolsr   django.core.exceptionsr   r    r   r   <module>r      s    	 $  ;r   