
    i                         d Z ddlZddlmZ ddlmZmZ ddlZddlm	Z	m
Z
mZ e G d de             Ze G d d	e             Z G d
 de      Zdedeedf   dedeedf   deddfdZy)zACode generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.    N)ThreadPoolExecutor)Protocolruntime_checkable)AnyOptionalUnionc                   X   e Zd Zdej                  ej                  ddej
                  dedeej                  j                  ej                  j                  df   deeej                  j                  f   dej                  f
d	Zdddddddej                  dd
	dedej                  j                  deej                  j"                     deej                  j$                     deej                  j&                     dee   deej                  j*                     deej                  j,                     deej                  j.                     deej                  j0                  ej                  j                  f   deej                  j2                     dej
                  fdZddZy)
HttpClientFstreamauthfollow_redirectsrequestr   r   Nr   returnc                     y N selfr   r   r   r   s        V/var/www/html/eduruby.in/venv/lib/python3.12/site-packages/mistralai_gcp/httpclient.pysendzHttpClient.send   s     	    	contentdatafilesjsonparamsheaderscookiestimeout
extensionsmethodurlr   r   r   r   r   r   r    r!   r"   c       	              y r   r   r   r#   r$   r   r   r   r   r   r   r    r!   r"   s               r   build_requestzHttpClient.build_request       " 	r   c                      y r   r   r   s    r   closezHttpClient.close.   s    r   r   N)__name__
__module____qualname__httpxUSE_CLIENT_DEFAULTRequestboolr   _types	AuthTypes_clientUseClientDefaultResponser   strURLTypesr   RequestContentRequestDataRequestFilesr   QueryParamTypesHeaderTypesCookieTypesTimeoutTypesRequestExtensionsr'   r+   r   r   r   r
   r
           $$ $$ 	
 LL""EMM$B$BDH
  %--000
 
& :>3759"9=6:6: $$?C \\""
 %,,556 u||//0 112 sm 556 %,,223 %,,223 LL%%u}}'E'EE
 U\\;;<  
!&r   r
   c                   X   e Zd Zdej                  ej                  ddej
                  dedeej                  j                  ej                  j                  df   deeej                  j                  f   dej                  f
d	Zdddddddej                  dd
	dedej                  j                  deej                  j"                     deej                  j$                     deej                  j&                     dee   deej                  j*                     deej                  j,                     deej                  j.                     deej                  j0                  ej                  j                  f   deej                  j2                     dej
                  fdZddZy)AsyncHttpClientFr   r   r   r   Nr   r   c                   K   y wr   r   r   s        r   r   zAsyncHttpClient.send4   s      	   r   r#   r$   r   r   r   r   r   r   r    r!   r"   c       	              y r   r   r&   s               r   r'   zAsyncHttpClient.build_requestB   r(   r   c                    K   y wr   r   r*   s    r   aclosezAsyncHttpClient.acloseU   s	     rG   r,   )r-   r.   r/   r0   r1   r2   r3   r   r4   r5   r6   r7   r8   r   r9   r:   r   r;   r<   r=   r   r>   r?   r@   rA   rB   r'   rJ   r   r   r   rE   rE   2   rC   r   rE   c                   6    e Zd ZU eedf   ed<   eedf   ed<   y)ClientOwnerNclientasync_client)r-   r.   r/   r   r
   __annotations__rE   r   r   r   rL   rL   Y   s"    *d"##-..r   rL   ownersync_clientsync_client_suppliedrN   async_client_suppliedr   c                    d| _         d| _        ||s	 |j                          ||sd}	 t	        j
                          d}	 |rTt        d      5 }|j                  t        j                  |j                               }|j                          ddd       yt	        j                  |j                                yyy# t        $ r Y w xY w# t        $ r Y w xY w# 1 sw Y   yxY w# t        $ r Y yw xY w)z
    A finalizer function that is meant to be used with weakref.finalize to close
    httpx clients used by an SDK so that underlying resources can be garbage
    collected.
    NFT   )max_workers)rM   rN   r+   	Exceptionasyncioget_running_loopRuntimeErrorr   submitrunrJ   result)rP   rQ   rR   rN   rS   is_asyncexecutorfutures           r   close_clientsra   ^   s     ELE';	 (=	$$&H
	 'A6 $(%__W[[,:M:M:OPFMMO$ $ L//12! )>  		  		$ $
  		sX   B> C C( ?CC( #C( >	C
	C
	CCC%!C( %C( (	C43C4)__doc__rX   concurrent.futuresr   typing_extensionsr   r   r0   typingr   r   r   r
   rE   rL   r3   ra   r   r   r   <module>rf      s    G  1 9  ' ' # # #L #h # #L/( /
**z4'(* * -.	*
  * 
*r   