
    im                         S SK JrJrJrJrJr  S SKJr  SrSr	S\
4S jr\S\S   4S j5       r\\\\4   \\   \\\\
S	4   r\\\4   r " S
 S\5      rg	)    )AnyDictListUnion	Generator)contextmanagerz*cannot be called from a running event loopzrThe event loop is already running. Add `import nest_asyncio; nest_asyncio.apply()` to your code to fix this issue.returnc                  x     SSK Jn   U " 5       R                  R                  S:H  $ ! [        [
        4 a     gf = f)z0Check if we're running in a Jupyter environment.r   get_ipythonZMQInteractiveShellF)IPythonr   	__class____name__ImportErrorAttributeErrorr   s    \/home/james-whalen/.local/lib/python3.13/site-packages/llama_cloud_services/extract/utils.py
is_jupyterr      s;    '}&&//3HHH( s   #& 99)NNNc               #      #     Sv   g! [          a(  n [        [        U 5      ;   a  [        [        5      ee Sn A ff = f7f)zPContext manager to add helpful information for errors due to nested event loops.N)RuntimeErrornest_asyncio_errstrnest_asyncio_msg)es    r   augment_async_errorsr      s7      s1v%/00s   >	 >
;#6;>Nc                       \ rS rSrSrSrg)ExperimentalWarning%   z"Warning for experimental features. N)r   
__module____qualname____firstlineno____doc____static_attributes__r       r   r   r   %   s    ,r%   r   )typingr   r   r   r   r   
contextlibr   r   r   boolr   r   r   intfloatJSONTypeJSONObjectTypeWarningr   r   r%   r   <module>r.      s    4 4 % @ V D  i(89   c3hcCeT4GHc8m$	' 	r%   