Ë
    }¾j×<  ã                  óÎ  — U d dl mZ d dlZd dlZd dlZd dlZd dlZd dlmZm	Z	m
Z
mZmZmZmZmZmZmZ d dlmZmZmZmZmZ d dlZd dlZd dlZddlmZ ddlmZmZm Z  ddl!m"Z"m#Z# dd	l$m%Z% dd
l&m'Z'm(Z(m)Z)m*Z* ddl+m,Z, erddl!m-Z- ddl.m/Z/  ed«      Z0 ed«      Z1 ed«      Z2 ejf                  e4«      Z5de6d<    G d„ dee1   «      Z7 G d„ de8«      Z9dd„Z:dd„Z; G d„ d«      Z<y)é    )ÚannotationsN)
ÚTYPE_CHECKINGÚAnyÚUnionÚGenericÚTypeVarÚCallableÚIteratorÚAsyncIteratorÚcastÚoverload)Ú	AwaitableÚ	ParamSpecÚoverrideÚ
deprecatedÚ
get_originé   )ÚNoneType)Úis_givenÚextract_type_argÚis_annotated_type)Ú	BaseModelÚis_basemodel)ÚRAW_RESPONSE_HEADER)ÚStreamÚAsyncStreamÚis_stream_class_typeÚextract_stream_chunk_type)ÚAPIResponseValidationError)ÚFinalRequestOptions)Ú
BaseClientÚPÚRÚ_Tzlogging.LoggerÚlogc                  ó”  — e Zd ZU dZded<   ded<   ded<   ded	<   d
ed<   ded<   ded<   	 	 	 	 	 	 	 	 	 	 	 	 	 	 d#d„Zed$d„«       Zed%d„«       Z	ed&d„«       Z	ddœd'd„Z	ed(d„«       Z
ed)d„«       Zed*d„«       Zed+d„«       Zed,d„«       Zed-d„«       Zed,d„«       Zed,d„«       Zed.d„«       Zed/d „«       Zddœd'd!„Zed,d"„«       Zy)0ÚLegacyAPIResponsea°  This is a legacy class as it will be replaced by `APIResponse`
    and `AsyncAPIResponse` in the `_response.py` file in the next major
    release.

    For the sync client this will mostly be the same with the exception
    of `content` & `text` will be methods instead of properties. In the
    async client, all methods will be async.

    A migration script will be provided & the migration in general should
    be smooth.
    útype[R]Ú_cast_toúBaseClient[Any, Any]Ú_clientzdict[type[Any], Any]Ú_parsed_by_typeÚboolÚ_streamú1type[Stream[Any]] | type[AsyncStream[Any]] | NoneÚ_stream_clsr    Ú_optionsúhttpx.ResponseÚhttp_responsec               óf   — || _         || _        i | _        || _        || _        || _        || _        y ©N)r)   r+   r,   r.   r0   r1   r3   )ÚselfÚrawÚcast_toÚclientÚstreamÚ
stream_clsÚoptionss          úZ/var/www/html/candidateportal/venv/lib/python3.12/site-packages/openai/_legacy_response.pyÚ__init__zLegacyAPIResponse.__init__8   s8   € ð  ˆŒØˆŒØ!ˆÔØˆŒØ%ˆÔØˆŒØ ˆÕó    c                óL   — | j                   j                  j                  d«      S )Nzx-request-id)r3   ÚheadersÚget©r6   s    r=   Ú
request_idzLegacyAPIResponse.request_idJ   s   € à×!Ñ!×)Ñ)×-Ñ-¨nÓ=Ð=r?   c                ó   — y r5   © )r6   Útos     r=   ÚparsezLegacyAPIResponse.parseN   ó   € àr?   c                 ó   — y r5   rF   rC   s    r=   rH   zLegacyAPIResponse.parseR   rI   r?   N©rG   c               ó  — |�|n| j                   }| j                  j                  |«      }|�|S | j                  |¬«      }t	        | j
                  j                  «      r| j
                  j                  |«      }|| j                  |<   |S )aÞ  Returns the rich python representation of this response's data.

        NOTE: For the async client: this will become a coroutine in the next major version.

        For lower-level control, see `.read()`, `.json()`, `.iter_bytes()`.

        You can customise the type that the response is parsed into through
        the `to` argument, e.g.

        ```py
        from openai import BaseModel


        class MyModel(BaseModel):
            foo: str


        obj = response.parse(to=MyModel)
        print(obj.foo)
        ```

        We support parsing:
          - `BaseModel`
          - `dict`
          - `list`
          - `Union`
          - `str`
          - `int`
          - `float`
          - `httpx.Response`
        rK   )r)   r,   rB   Ú_parser   r1   Úpost_parser)r6   rG   Ú	cache_keyÚcachedÚparseds        r=   rH   zLegacyAPIResponse.parseV   s€   € ð@ ˜.‘B¨d¯m©mˆ	Ø×%Ñ%×)Ñ)¨)Ó4ˆØÐØˆMà—‘ �Ó#ˆÜ�D—M‘M×-Ñ-Ô.Ø—]‘]×.Ñ.¨vÓ6ˆFà*0ˆ×Ñ˜YÑ'Øˆr?   c                ó.   — | j                   j                  S r5   )r3   rA   rC   s    r=   rA   zLegacyAPIResponse.headers‚   ó   € à×!Ñ!×)Ñ)Ð)r?   c                ó.   — | j                   j                  S r5   )r3   ÚrequestrC   s    r=   Úhttp_requestzLegacyAPIResponse.http_request†   rS   r?   c                ó.   — | j                   j                  S r5   )r3   Ústatus_coderC   s    r=   rX   zLegacyAPIResponse.status_codeŠ   s   € à×!Ñ!×-Ñ-Ð-r?   c                ó.   — | j                   j                  S r5   )r3   ÚurlrC   s    r=   rZ   zLegacyAPIResponse.urlŽ   s   € à×!Ñ!×%Ñ%Ð%r?   c                ó.   — | j                   j                  S r5   )rV   ÚmethodrC   s    r=   r\   zLegacyAPIResponse.method’   s   € à× Ñ ×'Ñ'Ð'r?   c                ó.   — | j                   j                  S )zŠReturn the binary response content.

        NOTE: this will be removed in favour of `.read()` in the
        next major version.
        )r3   ÚcontentrC   s    r=   r^   zLegacyAPIResponse.content–   s   € ð ×!Ñ!×)Ñ)Ð)r?   c                ó.   — | j                   j                  S )zyReturn the decoded response content.

        NOTE: this will be turned into a method in the next major version.
        )r3   ÚtextrC   s    r=   r`   zLegacyAPIResponse.textŸ   s   € ð ×!Ñ!×&Ñ&Ð&r?   c                ó.   — | j                   j                  S r5   )r3   Úhttp_versionrC   s    r=   rb   zLegacyAPIResponse.http_version§   s   € à×!Ñ!×.Ñ.Ð.r?   c                ó.   — | j                   j                  S r5   )r3   Ú	is_closedrC   s    r=   rd   zLegacyAPIResponse.is_closed«   s   € à×!Ñ!×+Ñ+Ð+r?   c                ó.   — | j                   j                  S )zCThe time taken for the complete request/response cycle to complete.)r3   ÚelapsedrC   s    r=   rf   zLegacyAPIResponse.elapsed¯   s   € ð ×!Ñ!×)Ñ)Ð)r?   c               ót	  — |rt        |«      rt        |d«      }| j                  �r@|rjt        |«      st	        dt
        › dt        › �«      ‚t        t         |t        |d¬«      | j                  t        t        | j                  «      ¬«      «      S | j                  rWt        t        | j                  t        | j                  «      | j                  t        t        | j                  «      ¬«      «      S t        d| j                  j                  «      }|€
t!        «       ‚t        t         || j"                  | j                  t        t        | j                  «      ¬«      «      S |�|n| j"                  }t        |«      rt        |d«      }|t$        u rt        t        d «      S | j                  }|t&        k(  rt        t        |j(                  «      S |t*        k(  r#t        t        t+        |j(                  «      «      S |t,        k(  r#t        t        t-        |j(                  «      «      S t/        |«      xs |}t1        j2                  |«      r&t5        |t6        «      rt        t         ||«      «      S |t8        k(  rt;        d«      ‚t1        j2                  |«      rHt5        |t<        j>                  «      r.|t<        j>                  k7  rtA        d	«      ‚t        t        |«      S t1        j2                  |«      r5t5        |tB        «      s%t5        |tD        jB                  «      rt	        d
«      ‚|tF        urr|tH        urj|tJ        urb|tL        urZt5        |tB        «      sJt;        d|› dtB        › dtJ        › dtH        › dtL        › dt$        › dt&        › dt<        j>                  › d�«      ‚|jN                  jQ                  dd«      jS                  d«      ^}}|dk7  rxtU        |«      r/	 |jW                  «       }| j                  jY                  |||¬«      S | j                  jb                  rte        |d|› d�|j(                  ¬«      ‚|j(                  S |jW                  «       }| j                  jY                  |||¬«      S # tZ        $ r*}	t\        j_                  dta        |	«      |	«       Y d }	~	Œšd }	~	ww xY w)Nr   z/Expected custom parse type to be a subclass of z or zUExpected custom stream type to be passed with a type argument, e.g. Stream[ChunkType])Úfailure_message)r8   Úresponser9   r/   z+Unexpected state - cast_to is `APIResponse`z:Subclasses of httpx.Response cannot be passed to `cast_to`zVPydantic models must subclass our base model type, e.g. `from openai import BaseModel`zUnsupported type, expected z to be a subclass of z, ú.zcontent-typeÚ*ú;zapplication/json)Údatar8   ri   z5Could not read JSON from response data due to %s - %szMExpected Content-Type response header to be `application/json` but received `z
` instead.)ri   ÚmessageÚbody)3r   r   r.   r   Ú	TypeErrorr   r   r   r$   r   r3   r   r+   r0   r#   Ú_default_stream_clsÚMissingStreamClassErrorr)   r   Ústrr`   ÚintÚfloatr   ÚinspectÚisclassÚ
issubclassÚHttpxBinaryResponseContentr'   ÚRuntimeErrorÚhttpxÚResponseÚ
ValueErrorr   ÚpydanticÚobjectÚlistÚdictr   rA   rB   Úsplitr   ÚjsonÚ_process_response_dataÚ	Exceptionr%   ÚdebugÚtypeÚ_strict_response_validationr   )
r6   rG   r;   r8   ri   ÚoriginÚcontent_typeÚ_rm   Úexcs
             r=   rM   zLegacyAPIResponse._parse´   sY  € áÔ# BÔ'Ü! " aÓ(ˆBà�<‹<ÙÜ+¨BÔ/Ü#Ð&UÔV\ÐU]Ð]aÔbmÐanÐ$oÓpÐpäÜÙÜ 9Øð -Dô!ð "&×!3Ñ!3Ü#¤C¨¯©Ó6ôó
ð 
ð ×ÒÜÜØ×$Ñ$Ü 9¸$×:JÑ:JÓ KØ!%×!3Ñ!3Ü#¤C¨¯©Ó6ð %ó óð ô ÐQÐSW×S_ÑS_×SsÑSsÓtˆJØÐ!Ü-Ó/Ð/äÜÙØ ŸM™MØ!×/Ñ/Ü¤ T§\¡\Ó2ôóð ð ˜‘"¨D¯M©Mˆô ˜WÔ%Ü& w°Ó2ˆGà”hÑÜœ˜4“=Ð à×%Ñ%ˆØ”cŠ>Üœ˜8Ÿ=™=Ó)Ð)à”cŠ>Üœœ3˜xŸ}™}Ó-Ó.Ð.à”eÒÜœœ5 §¡Ó/Ó0Ð0ä˜GÓ$Ò/¨ˆä�?‰?˜6Ô"¤z°&Ô:TÔ'UÜœ™7 8Ó,Ó-Ð-àÔ&Ò&ÜÐLÓMÐMä�?‰?˜6Ô"¤z°&¼%¿.¹.Ô'Ið œ%Ÿ.™.Ò(Ü Ð#]Ó_Ð_Üœ˜8Ó$Ð$ä�?‰?˜6Ô"¬:°f¼iÔ+HÌZÐX^Ô`h×`rÑ`rÔMsÜÐtÓuÐuð œ6Ñ!Øœd‘NØœd‘NØœe‘OÜ˜v¤yÔ1äØ-¨g¨YÐ6KÌIÈ;ÐVXÔY]ÐX^Ð^`ÔaeÐ`fÐfhÔinÐhoÐoqÔrzÐq{Ð{}ô  Bð  ~Cð  CGô  HM÷  HVñ  HVð  GWð  WXð  Yóð ð $×+Ñ+×/Ñ/°ÀÓD×JÑJÈ3ÓOÐˆ�qØÐ-Ò-Ü˜GÔ$ð	Ø#Ÿ=™=›?�Dð  Ÿ<™<×>Ñ>Ø!Ø 'Ø!)ð ?ó ð ð �|‰|×7Ò7Ü0Ø%ØkÐlxÐkyð  zDð  EØ!Ÿ™ôð ð —=‘=Ð à�}‰}‹ˆà�|‰|×2Ñ2ØØØð 3ó 
ð 	
øô/ !ò gÜ—I‘IÐUÔW[Ð\_ÓW`Ðbe×fÑfûðgús   Ï*R Ò	R7Ò R2Ò2R7c                ój   — d| j                   › d| j                  j                  › d| j                  › d�S )Nz<APIResponse [ú z] type=ú>)rX   r3   Úreason_phraser)   rC   s    r=   Ú__repr__zLegacyAPIResponse.__repr__8  s;   € à × 0Ñ 0Ð1°°4×3EÑ3E×3SÑ3SÐ2TÐT[Ð\`×\iÑ\iÐ[jÐjkÐlÐlr?   )r7   r2   r8   r(   r9   r*   r:   r-   r;   r/   r<   r    ÚreturnÚNone©r’   z
str | None)rG   ztype[_T]r’   r$   )r’   r#   )rG   ztype[_T] | Noner’   zR | _T)r’   zhttpx.Headers)r’   zhttpx.Request)r’   rt   )r’   z	httpx.URL©r’   rs   ©r’   Úbytes)r’   r-   )r’   zdatetime.timedelta)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú__annotations__r>   ÚpropertyrD   r   rH   rA   rV   rX   rZ   r\   r^   r`   rb   rd   rf   rM   r   r‘   rF   r?   r=   r'   r'   "   s¯  … ñ
ð ÓØ!Ó!Ø)Ó)ØƒMØBÓBØ!Ó!à!Ó!ð!ð ð!ð ð	!ð
 %ð!ð ð!ð Fð!ð %ð!ð 
ó!ð$ ò>ó ð>ð òó ðð òó ðð .2õ *ðX ò*ó ð*ð ò*ó ð*ð ò.ó ð.ð ò&ó ð&ð ò(ó ð(ð ò*ó ð*ð ò'ó ð'ð ò/ó ð/ð ò,ó ð,ð ò*ó ð*ð /3õ B
ðH òmó ñmr?   r'   c                  ó    ‡ — e Zd Zdˆ fd„Zˆ xZS )rr   c                ó$   •— t         ‰| �  d«       y )NzzThe `stream` argument was set to `True` but the `stream_cls` argument was not given. See `openai._streaming` for reference)Úsuperr>   )r6   Ú	__class__s    €r=   r>   z MissingStreamClassError.__init__>  s   ø€ Ü‰Ñð Iõ	
r?   ©r’   r“   )r˜   r™   rš   r>   Ú__classcell__)r¡   s   @r=   rr   rr   =  s   ø„ ÷
ñ 
r?   rr   c                óD   ‡ — t        j                  ‰ «      dˆ fd„«       }|S )ú�Higher order function that takes one of our bound API methods and wraps it
    to support returning the raw `APIResponse` object directly.
    c                 ó¤   •— i t        t        |j                  d«      «      xs i ¥}d|t        <   ||d<   t        t        t
            ‰| i |¤Ž«      S ©NÚextra_headersÚtrue©r   r   rB   r   r'   r#   ©ÚargsÚkwargsr¨   Úfuncs      €r=   Úwrappedz(to_raw_response_wrapper.<locals>.wrappedI  sU   ø€ à(Z¬D´°f·j±jÀÓ6QÓ,RÒ,XÐVXÐ(ZˆØ-3ˆÔ)Ñ*à"/ˆˆÑäÔ%¤aÑ(©$°Ð*?¸Ñ*?Ó@Ð@r?   ©r¬   zP.argsr­   zP.kwargsr’   zLegacyAPIResponse[R]©Ú	functoolsÚwraps©r®   r¯   s   ` r=   Úto_raw_response_wrapperrµ   D  s)   ø€ ô
 ‡_�_�TÓôAó ðAð €Nr?   c                óD   ‡ — t        j                  ‰ «      dˆ fd„«       }|S )r¥   c               Ÿ  óÀ   •K  — i t        t        |j                  d«      «      xs i ¥}d|t        <   ||d<   t        t        t
            ‰| i |¤Žƒ d {  –—† «      S 7 Œ­wr§   rª   r«   s      €r=   r¯   z.async_to_raw_response_wrapper.<locals>.wrappedZ  s_   øè ø€ à(Z¬D´°f·j±jÀÓ6QÓ,RÒ,XÐVXÐ(ZˆØ-3ˆÔ)Ñ*à"/ˆˆÑäÔ%¤aÑ(±°dÐ0E¸fÑ0E×*EÓFÐFÐ*Eús   ƒAAÁA
Á	Ar°   r±   r´   s   ` r=   Úasync_to_raw_response_wrapperr¸   U  s)   ø€ ô
 ‡_�_�TÓôGó ðGð €Nr?   c                  óH  — e Zd ZU ded<   dd„Zedd„«       Zedd„«       Zedd„«       Zedd„«       Z	dd„Z
dd	„Zd d!d„Zd d"d„Zd#d„Zd d!d„Z	 	 	 	 d$d„Z ed«      d
dœ	 	 	 	 	 d%d„«       Zd&d„Zdd„Zd d'd„Zd d(d„Zd)d„Zd d'd„Z ed«      d
dœ	 	 	 	 	 d%d„«       Zd&d„Zy
)*ry   r2   ri   c                ó   — || _         y r5   )ri   )r6   ri   s     r=   r>   z#HttpxBinaryResponseContent.__init__i  s	   € Ø ˆ�r?   c                ó.   — | j                   j                  S r5   )ri   r^   rC   s    r=   r^   z"HttpxBinaryResponseContent.contentl  s   € à�}‰}×$Ñ$Ð$r?   c                ó.   — | j                   j                  S r5   )ri   r`   rC   s    r=   r`   zHttpxBinaryResponseContent.textp  s   € à�}‰}×!Ñ!Ð!r?   c                ó.   — | j                   j                  S r5   )ri   ÚencodingrC   s    r=   r¾   z#HttpxBinaryResponseContent.encodingt  s   € à�}‰}×%Ñ%Ð%r?   c                ó.   — | j                   j                  S r5   )ri   Úcharset_encodingrC   s    r=   rÀ   z+HttpxBinaryResponseContent.charset_encodingx  s   € à�}‰}×-Ñ-Ð-r?   c                ó:   —  | j                   j                  di |¤ŽS )NrF   )ri   rƒ   )r6   r­   s     r=   rƒ   zHttpxBinaryResponseContent.json|  s   € Ø!ˆt�}‰}×!Ñ!Ñ+ FÑ+Ð+r?   c                ó6   — | j                   j                  «       S r5   )ri   ÚreadrC   s    r=   rÃ   zHttpxBinaryResponseContent.read  s   € Ø�}‰}×!Ñ!Ó#Ð#r?   Nc                ó8   — | j                   j                  |«      S r5   )ri   Ú
iter_bytes©r6   Ú
chunk_sizes     r=   rÅ   z%HttpxBinaryResponseContent.iter_bytes‚  s   € Ø�}‰}×'Ñ'¨
Ó3Ð3r?   c                ó8   — | j                   j                  |«      S r5   )ri   Ú	iter_textrÆ   s     r=   rÉ   z$HttpxBinaryResponseContent.iter_text…  s   € Ø�}‰}×&Ñ& zÓ2Ð2r?   c                ó6   — | j                   j                  «       S r5   )ri   Ú
iter_linesrC   s    r=   rË   z%HttpxBinaryResponseContent.iter_linesˆ  s   € Ø�}‰}×'Ñ'Ó)Ð)r?   c                ó8   — | j                   j                  |«      S r5   )ri   Úiter_rawrÆ   s     r=   rÍ   z#HttpxBinaryResponseContent.iter_raw‹  s   € Ø�}‰}×%Ñ% jÓ1Ð1r?   c                óª   — t        |d¬«      5 }| j                  j                  «       D ]  }|j                  |«       Œ 	 ddd«       y# 1 sw Y   yxY w)av  Write the output to the given file.

        Accepts a filename or any path-like object, e.g. pathlib.Path

        Note: if you want to stream the data to the file instead of writing
        all at once then you should use `.with_streaming_response` when making
        the API request, e.g. `client.with_streaming_response.foo().stream_to_file('my_filename.txt')`
        Úwb©ÚmodeN©Úopenri   rÅ   Úwrite)r6   ÚfileÚfrm   s       r=   Úwrite_to_filez(HttpxBinaryResponseContent.write_to_fileŽ  sL   € ô �$˜TÔ"ð 	 aØŸ™×0Ñ0Ó2ò �Ø—‘˜•ñ÷	÷ 	ñ 	ús   Ž1A	Á	Az‚Due to a bug, this method doesn't actually stream the response content, `.with_streaming_response.method()` should be used instead)rÇ   c               ó¬   — t        |d¬«      5 }| j                  j                  |«      D ]  }|j                  |«       Œ 	 d d d «       y # 1 sw Y   y xY w©NrÏ   rÐ   rÒ   )r6   rÕ   rÇ   rÖ   rm   s        r=   Ústream_to_filez)HttpxBinaryResponseContent.stream_to_filež  sN   € ô �$˜TÔ"ð 	 aØŸ™×0Ñ0°Ó<ò �Ø—‘˜•ñ÷	÷ 	ñ 	ús   Ž2A
Á
Ac                ó6   — | j                   j                  «       S r5   )ri   ÚcloserC   s    r=   rÜ   z HttpxBinaryResponseContent.close«  s   € Ø�}‰}×"Ñ"Ó$Ð$r?   c              ƒ  óR   K  — | j                   j                  «       ƒ d {  –—† S 7 Œ­wr5   )ri   ÚareadrC   s    r=   rÞ   z HttpxBinaryResponseContent.aread®  s   è ø€ Ø—]‘]×(Ñ(Ó*×*Ð*Ð*úó   ‚' %¡'c              ƒ  ó@   K  — | j                   j                  |«      S ­wr5   )ri   Úaiter_bytesrÆ   s     r=   rá   z&HttpxBinaryResponseContent.aiter_bytes±  s   è ø€ Ø�}‰}×(Ñ(¨Ó4Ð4ùó   ‚c              ƒ  ó@   K  — | j                   j                  |«      S ­wr5   )ri   Ú
aiter_textrÆ   s     r=   rä   z%HttpxBinaryResponseContent.aiter_text´  s   è ø€ Ø�}‰}×'Ñ'¨
Ó3Ð3ùrâ   c              ƒ  ó>   K  — | j                   j                  «       S ­wr5   )ri   Úaiter_linesrC   s    r=   ræ   z&HttpxBinaryResponseContent.aiter_lines·  s   è ø€ Ø�}‰}×(Ñ(Ó*Ð*ùs   ‚c              ƒ  ó@   K  — | j                   j                  |«      S ­wr5   )ri   Ú	aiter_rawrÆ   s     r=   rè   z$HttpxBinaryResponseContent.aiter_rawº  s   è ø€ Ø�}‰}×&Ñ& zÓ2Ð2ùrâ   c             ƒ  óV  K  — t        j                  |«      }|j                  d¬«      ƒ d {  –—† 4 ƒd {  –—† }| j                  j	                  |«      2 3 d {  –—† }|j                  |«      ƒ d {  –—†  Œ#7 ŒK7 ŒD7 Œ"7 Œ6 d d d «      ƒd {  –—†7   y # 1 ƒd {  –—†7  sw Y   y xY w­wrÙ   )ÚanyioÚPathrÓ   ri   rá   rÔ   )r6   rÕ   rÇ   ÚpathrÖ   rm   s         r=   Úastream_to_filez*HttpxBinaryResponseContent.astream_to_file½  s—   è ø€ ô �z‰z˜$ÓˆØŸ™¨˜Ó-×-÷ 	$ð 	$°Ø"Ÿm™m×7Ñ7¸
ÓC÷ $ð $�dØ—g‘g˜d“m×#Ñ#ð .øð 	$øð$øØ#øð D÷	$÷ 	$÷ 	$÷ 	$ó 	$üsŠ   ‚+B)­A9®B)¶A;·B)ºBÁBÁA=ÁBÁBÁ3A?Á4BÁ9B)Á;B)Á=BÁ?BÂBÂB)ÂBÂB)ÂB&ÂBÂB&Â"B)c              ƒ  óR   K  — | j                   j                  «       ƒ d {  –—† S 7 Œ­wr5   )ri   ÚacloserC   s    r=   rï   z!HttpxBinaryResponseContent.acloseË  s   è ø€ Ø—]‘]×)Ñ)Ó+×+Ð+Ð+úrß   )ri   r2   r’   r“   r–   r•   r”   )r­   r   r’   r   r5   )rÇ   ú
int | Noner’   zIterator[bytes])rÇ   rð   r’   úIterator[str])r’   rñ   )rÕ   ústr | os.PathLike[str]r’   r“   )rÕ   rò   rÇ   rð   r’   r“   r¢   )rÇ   rð   r’   zAsyncIterator[bytes])rÇ   rð   r’   úAsyncIterator[str])r’   ró   )r˜   r™   rš   rœ   r>   r�   r^   r`   r¾   rÀ   rƒ   rÃ   rÅ   rÉ   rË   rÍ   r×   r   rÚ   rÜ   rÞ   rá   rä   ræ   rè   rí   rï   rF   r?   r=   ry   ry   f  s5  … ØÓó!ð ò%ó ð%ð ò"ó ð"ð ò&ó ð&ð ò.ó ð.ó,ó$ô4ô3ó*ô2ðà$ðð 
óñ  ð 	Móð "&ñ	à$ðð ð	ð
 
òóðó%ó+ô5ô4ó+ô3ñ ð 	Móð "&ñ		$à$ð	$ð ð		$ð
 
ò	$óð	$ô,r?   ry   )r®   zCallable[P, R]r’   z!Callable[P, LegacyAPIResponse[R]])r®   zCallable[P, Awaitable[R]]r’   z,Callable[P, Awaitable[LegacyAPIResponse[R]]])=Ú
__future__r   Úosrv   ÚloggingÚdatetimer²   Útypingr   r   r   r   r   r	   r
   r   r   r   Útyping_extensionsr   r   r   r   r   rê   r{   r~   Ú_typesr   Ú_utilsr   r   r   Ú_modelsr   r   Ú
_constantsr   Ú
_streamingr   r   r   r   Ú_exceptionsr   r    Ú_base_clientr!   r"   r#   r$   Ú	getLoggerr˜   r%   rœ   r'   rp   rr   rµ   r¸   ry   rF   r?   r=   ú<module>r     s»   ðÞ "ã 	Û Û Û Û ß q× q× qß TÕ Tã Û Û å ß AÑ Aß ,Ý +ß \Ó \Ý 3áÝ,Ý(ñ ˆcƒN€ÙˆCƒL€ÙˆTƒ]€à'�g×'Ñ'¨Ó1€€^Ó 1ôXm˜ ™
ô Xmôv
˜iô 
óó"÷"f,ò f,r?   