+
    ^eòjò  ã                   óP   € ^ RI t ^ RIt^ RIHt ^ RIHt ^ RIt]! 4       tR R ltR# )é    N)ÚThreadPoolExecutor©ÚAnyc                ó0   € V ^8„  d   QhR\         R\         /# )é   ÚcoroÚreturnr   )Úformats   "Ú‡/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/nemo_relay/utils.pyÚ__annotate__r      s   € ÷ Nñ N”3ð Nœ3ñ Nó    c                óD  a a€  \         P                  ! 4        \        P
                  ! 4       p\        P                  ! 4       oR T T3R llp\        P                  TP                  T4      P                  4       #   \         d    \         P                  ! S 4      u # i ; i)a  Run *coro* synchronously, handling the case where an event loop is
already running.

When offloading to a ThreadPoolExecutor worker, this helper propagates
both Python contextvars and the Rust thread-local scope stack so that
NeMo Relay telemetry is preserved on the worker thread.
c                ó$   € V ^8„  d   QhR\         /# )r   r	   r   )r
   s   "r   r   Úrun_sync.<locals>.__annotate__&   s   € ÷ !ñ !¤3ñ !r   c                  ó\   <€ \         P                  ! S4       \        P                  ! S 4      # )N)Ú
nemo_relayÚset_thread_scope_stackÚasyncioÚrun)r   Úscope_stacks   €€r   Ú_run_with_scope_stackÚ'run_sync.<locals>._run_with_scope_stack&   s    ø€ Ü×)Ò)¨+Ô6Ü�{Š{˜4Ó Ð r   )r   Úget_running_loopÚRuntimeErrorr   ÚcontextvarsÚcopy_contextr   Úget_scope_stackÚ_RUN_SYNC_EXECUTORÚsubmitÚresult)r   Úctxr   r   s   f  @r   Úrun_syncr"      s   ù€ ð!Ü× Ò Ô"ô ×
"Ò
"Ó
$€Cä×,Ò,Ó.€K÷!ñ !ô ×$Ñ$ S§W¡WÐ.CÓD×KÑKÓMÐMøô ô !ä�{Š{˜4Ó Ò ð!ús   „A; Á;!BÂB)	r   r   Úconcurrent.futuresr   Útypingr   r   r   r"   © r   r   Ú<module>r&      s'   ðó Û Ý 1Ý ã ñ (Ó)Ð ÷Nr   