+
    ~j+                     a  0 t $ ^ RIHt ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RI	t	^ RI
t
^ RIt^ RIt^ RIt^ RIHt ^ RIHt ^ RIHtHtHtHtHtHtHtHtHtHtHtHtHtHtH t  ^ RI!H"t"H#t#H$t$H%t% ^ RI&t&^ RI't'^ RI(t(^ RI)t)^ RI'H*t* ^ RI)H+t+ ^R	I,H-t- ^R
I.H/t/ ^RI0H1t1H2t2 ^RI3H4t4H5t5H6t6H7t7H8t8H9t9H:t:H;t;H<t<H=t=H>t>H?t?H@t@HAtAHBtBHCtCHDtD ^RIEHFtFHGtGHHtHHItIHJtJHKtKHLtL ^RIMHNtNHOtOHPtP ^RIQHRtRHStSHTtTHUtUHVtV ^RIWHXtXHYtYHZtZH[t[ ^RI\H]t]H^t^H_t_H`t`HataHbtbHctc ^RIdHeteHftfHgtgHhth ^RI-HitiHjtjHktkHltlHmtm ^RInHoto ^RIpHqtq ]
P                  ! ]s4      ttR]uR&   ]tP                  ]F! 4       4       ]! RRR7      tw]! RRR7      tx]! R4      ty]! RRR 7      tz]! R!]e],          R7      t{]! R"]g],          R7      t|]'       d
   ^ R#I}H~t~ ]~tM ^ R#I}H~t  ! R% R&4      t ! R' R(]R]]y,          4      t ! R) R*]]y,          ]]y,          4      t ! R+ R,]]y]x3,          4      t ! R- R.]]y,          ]]y,          4      t]! R/]]'EP                  ]'EP                  3,          R7      t]! R0]]e],          ]g],          3,          R7      t ! R1 R2]]]3,          4      t ! R3 R4]'EP                  4      t]'       d   ]'EP                  tM]t ! R5 R6]4      t ! R7 R8]]'EP                  ]e],          3,          4      t ! R9 R:]'EP                  4      t ^ RIt ! R; R<]EP"                  4      t]'       d   ]'EP                  t ]'EP                  tM]t]t ! R> R?]4      t ! R@ RA]]'EP                  ]g],          3,          4      tRBRRCRRDRRERRFRRG]DRH]DRIRRJR/	RK RL llt ! RM RN]]R3,          4      t ! RO RP4      t]]]#R`,          3,          tRQ RR lt]K! RRS7      RT RU l4       t ! RV RW4      t]]]#Ra,          3,          tRX RY ltRZ R[ ltR\ R] ltR^ R_ ltR#   ] d    ]8! R$4      t ELVi ; i  ] d     ! R= R<]'EP                  4      t EL'i ; i)b    )annotationsN)TracebackType)random)TYPE_CHECKINGAnyDictTypeUnionGenericMappingTypeVarIterableIteratorOptional	GeneratorAsyncIteratorcastoverload)UnpackLiteraloverride
get_origin)URL)PrivateAttr)_exceptionsQuerystring)to_httpx_filesasync_to_httpx_files)BodyOmitQueryHeadersTimeoutNotGiven	ResponseT
AnyMapping
PostParserBinaryTypesRequestFilesHttpxSendArgsRequestOptionsAsyncBinaryTypesHttpxRequestFilesModelBuilderProtocol	not_given)SensitiveHeadersFilteris_dictis_listasyncifyis_given	lru_cache
is_mapping)PYDANTIC_V1
model_copy
model_dump)GenericModelSecurityOptionsFinalRequestOptionsvalidate_typeconstruct_type)APIResponseBaseAPIResponseAsyncAPIResponseextract_response_type)DEFAULT_TIMEOUTMAX_RETRY_DELAYDEFAULT_MAX_RETRIESINITIAL_RETRY_DELAYRAW_RESPONSE_HEADEROVERRIDE_CAST_TO_HEADERDEFAULT_CONNECTION_LIMITS)Stream
SSEDecoderAsyncStreamSSEBytesDecoder)OpenAIErrorAPIStatusErrorAPITimeoutErrorAPIConnectionErrorAPIResponseValidationError)openapi_dumps)LegacyAPIResponsezlogging.Loggerlog	SyncPageTzBaseSyncPage[Any])bound
AsyncPageTzBaseAsyncPage[Any]_T_T_coT)	covariant_StreamT_AsyncStreamT)DEFAULT_TIMEOUT_CONFIGg      @c                      ] tR t^yt$ RtR]R&   R]R&   R]R&   ]R R	 l4       t]R
 R l4       t]R R l4       tR]R]R]/R R llt]	R R l4       t
RtR# )PageInfozxStores the necessary information to build the request to retrieve the next page.

Either `url` or `params` must be set.
URL | NotGivenurlQuery | NotGivenparamsBody | NotGivenjsonc                    V ^8  d   QhRRRR/# )   rc   r   returnNone )formats   "h/Users/mitch_tango/dev/rabbit-r1-livekit/agent/.venv/lib/python3.14/site-packages/openai/_base_client.py__annotate__PageInfo.__annotate__   s         
	    c               	    R # Nrl   selfrc   s   &$rn   __init__PageInfo.__init__       
 rq   c                    V ^8  d   QhRRRR/# )ri   re   r"   rj   rk   rl   )rm   s   "rn   ro   rp      s         
	rq   c               	    R # rs   rl   )ru   re   s   &$rn   rv   rw      rx   rq   c                    V ^8  d   QhRRRR/# )ri   rg   r    rj   rk   rl   )rm   s   "rn   ro   rp      s         
	rq   c               	    R # rs   rl   )ru   rg   s   &$rn   rv   rw      rx   rq   c               (    V ^8  d   QhRRRRRRRR/# )	ri   rc   rb   rg   rf   re   rd   rj   rk   rl   )rm   s   "rn   ro   rp      s4     	 	 	 		
 !	 
	rq   c               	*    Wn         W n        W0n        R # rs   )rc   rg   re   )ru   rc   rg   re   s   &$$$rn   rv   rw      s     	rq   c                   V ^8  d   QhRR/# ri   rj   strrl   )rm   s   "rn   ro   rp      s     B B# Brq   c                	.   V P                   '       d'   V P                  P                   R V P                    R2# V P                  '       d'   V P                  P                   RV P                   R2# V P                  P                   RV P                   R2# )z(url=)z(json=z(params=)rc   	__class____name__rg   re   ru   s   &rn   __repr__PageInfo.__repr__   sz    888nn--.eDHH:Q??999nn--.fTYYKqAA..))*(4;;-qAArq   )rg   re   rc   N)r   
__module____qualname____firstlineno____doc____annotations__r   rv   r0   r   r   __static_attributes__rl   rq   rn   ra   ra   y   s    
 

     	 (	 !*		
 $-	 B Brq   ra   c                      ] tR t^t$ Rt]! 4       tR]R&   ]! 4       tR]R&   R R lt	R R	 lt
R
 R ltR R ltR R ltRtR# )BasePagea   
Defines the core interface for pagination.

Type Args:
    ModelT: The pydantic model that represents an item in the response.

Methods:
    has_next_page(): Check if there is another page available
    next_page_info(): Get the necessary information to make a request for the next page
r=   _optionsType[_T]_modelc                   V ^8  d   QhRR/# ri   rj   boolrl   )rm   s   "rn   ro   BasePage.__annotate__   s     1 1t 1rq   c                	Z    V P                  4       pV'       g   R # V P                  4       RJ# )FN)_get_page_itemsnext_page_info)ru   itemss   & rn   has_next_pageBasePage.has_next_page   s*    $$&""$D00rq   c                   V ^8  d   QhRR/# )ri   rj   zOptional[PageInfo]rl   )rm   s   "rn   ro   r      s    77 27rq   c                	    R # rs   rl   r   s   &rn   r   BasePage.next_page_info   s    Crq   c                   V ^8  d   QhRR/# )ri   rj   zIterable[_T]rl   )rm   s   "rn   ro   r      s       rq   c                	    R # rs   rl   r   s   &rn   r   BasePage._get_page_items   s    rq   c                    V ^8  d   QhRRRR/# )ri   rc   r   rj   zhttpx.QueryParamsrl   )rm   s   "rn   ro   r      s     T TC T,= Trq   c                	    \         P                  ! \        \        V P                  P
                  4      4      P                  VP
                  4      # rs   )httpxQueryParamsr   r   r   re   mergert   s   &&rn   _params_from_urlBasePage._params_from_url   s3      c4==+?+?!@AGG

SSrq   c                    V ^8  d   QhRRRR/# )ri   infora   rj   r=   rl   )rm   s   "rn   ro   r      s     6 6X 62E 6rq   c                	R   \        V P                  4      pVP                  4        \        VP                  \
        4      '       g"   / VP                  CVP                  CVn        V# \        VP                  \
        4      '       gd   V P                  VP                  4      pVP                  P                  VR 7      p\        VP                  4      Vn        \        V4      Vn        V# \        VP                  \
        4      '       g   \        VP                  4      '       g   \        R4      hVP                  '       g   / VP                  CVn        V# \        VP                  4      '       g   \        R4      h/ VP                  CVP                  CVn        V# \        R4      h))re   z*Pagination is only supported with mappingszUnexpected PageInfo state)r9   r   _strip_raw_response_header
isinstancere   r%   rc   r   	copy_withdictr   rg   r7   	TypeError	json_data
ValueError)ru   r   optionsre   rc   s   &&   rn   _info_to_optionsBasePage._info_to_options   sB   T]]+**,$++x00>>$++>GNN$((H--**4884F(($$F$3C!#**-GNc(GKN$))X..dii(( LMM$$$$1tyyM! N	 "'"3"344#$PQQ$Fw'8'8$FDII$F!N455rq   rl   N)r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   rl   rq   rn   r   r      sA    	 %0MH!1"}FH$1 8T6 6rq   r   c                  t    ] tR t^t$ ]P
                  ! 4       tR]R&   R R ltR R lt	R R lt
R	 R
 ltRtR# )BaseSyncPageSyncAPIClient_clientc               (    V ^8  d   QhRRRRRRRR/# )	ri   clientr   modelr   r   r=   rj   rk   rl   )rm   s   "rn   ro   BaseSyncPage.__annotate__   s2            %	 
 
 rq   c                	n    \         '       g   \        V R R4      f   / V n        W n        Wn        W0n        R# __pydantic_private__Nr8   getattrr   r   r   r   )ru   r   r   r   s   &&&&rn   _set_private_attributes$BaseSyncPage._set_private_attributes   /     /Et!L!T(*D%rq   c                   V ^8  d   QhRR/# )ri   rj   zIterator[_T]rl   )rm   s   "rn   ro   r     s      , rq   c              #  	r   "   V P                  4        F  pVP                  4        F  pVx  K	  	  K   	  R # 5irs   
iter_pagesr   ru   pageitems   &  rn   __iter__BaseSyncPage.__iter__  s.     OO%D,,.
 / &s   57c                    V ^8  d   QhRRRR/# )ri   ru   rW   rj   zIterator[SyncPageT]rl   )rm   s   "rn   ro   r     s       ': rq   c              #  	l   "   T p Vx  VP                  4       '       d   VP                  4       pK-  R# 5iTNr   get_next_pageru   r   s   & rn   r   BaseSyncPage.iter_pages  s2     J!!##))+s   44c                    V ^8  d   QhRRRR/# )ri   ru   rW   rj   rl   )rm   s   "rn   ro   r     s     a aI a) arq   c                	    V P                  4       pV'       g   \        R 4      hV P                  V4      pV P                  P	                  V P
                  V P                  VR7      # )YNo next page expected; please check `.has_next_page()` before calling `.get_next_page()`.r   r   r   RuntimeErrorr   r   _request_api_listr   r   ru   r   r   s   &  rn   r   BaseSyncPage.get_next_page  sZ    ""$k  ''-||--dkkX_-``rq   r   r   r   r   N)r   r   r   r   pydanticr   r   r   r   r   r   r   r   rl   rq   rn   r   r      s0    %113G]3 *
a arq   r   c                  F    ] tR tRtR R ltR R ltR R ltR R	 ltR
tR# )AsyncPaginatori  c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# )ri   r   AsyncAPIClientr   r=   page_clsType[AsyncPageT]r   r   rj   rk   rl   )rm   s   "rn   ro   AsyncPaginator.__annotate__  s<     
" 
"
" %
" #	
"
 
" 

"rq   c                	6    W@n         Wn        W n        W0n        R # rs   )r   r   r   	_page_cls)ru   r   r   r   r   s   &&&&&rn   rv   AsyncPaginator.__init__  s     !rq   c                   V ^8  d   QhRR/# )ri   rj   z Generator[Any, None, AsyncPageT]rl   )rm   s   "rn   ro   r   '  s     , ,; ,rq   c                	>    V P                  4       P                  4       # rs   )	_get_page	__await__r   s   &rn   r   AsyncPaginator.__await__'  s    ~~))++rq   c                   V ^8  d   QhRR/# )ri   rj   rY   rl   )rm   s   "rn   ro   r   *  s     I I Irq   c                	   a "   R  V 3R llpVS P                   n        S P                  P                  S P                  S P                   4      G Rj  xL
 #  L5i)c                    V ^8  d   QhRRRR/# )ri   resprY   rj   rl   )rm   s   "rn   ro   .AsyncPaginator._get_page.<locals>.__annotate__+  s     	 	* 	 	rq   c                l   < V P                  SP                  SP                  SP                  R 7       V # ))r   r   r   )r   r   r   r   )r   ru   s   &rn   _parser)AsyncPaginator._get_page.<locals>._parser+  s2    ((kk|| ) 
 Krq   N)r   post_parserr   requestr   )ru   r   s   f rn   r   AsyncPaginator._get_page*  sC     	 	 %,!\\))$..$--HHHHs   AAAAc                   V ^8  d   QhRR/# ri   rj   zAsyncIterator[_T]rl   )rm   s   "rn   ro   r   7  s      !2 rq   c               	n   "   \        \        V G R j  xL
 4      pV  R j  xL
  pV5x  K   L LDR # 5irs   )r   rY   r   s   &  rn   	__aiter__AsyncPaginator.__aiter__7  s9     J
  	 	$J 	$s$   5.

5202
525)r   r   r   r   N)	r   r   r   r   rv   r   r   r   r   rl   rq   rn   r   r     s    
",I rq   r   c                  t    ] tR tRt$ ]P
                  ! 4       tR]R&   R R ltR R lt	R R	 lt
R
 R ltRtR# )BaseAsyncPageiA  r   r   c               (    V ^8  d   QhRRRRRRRR/# )	ri   r   r   r   r   r   r=   rj   rk   rl   )rm   s   "rn   ro   BaseAsyncPage.__annotate__D  s2            %	 
 
 rq   c                	n    \         '       g   \        V R R4      f   / V n        Wn        W n        W0n        R# r   r   )ru   r   r   r   s   &&&&rn   r   %BaseAsyncPage._set_private_attributesD  r   rq   c                   V ^8  d   QhRR/# r   rl   )rm   s   "rn   ro   r  Q  s      !2 rq   c               	   "   V P                  4         R j  xL
  pVP                  4        F  pV5x  K
  	  K(   L#D$R # 5irs   r   r   s   &  rn   r   BaseAsyncPage.__aiter__Q  s;     //+ 	 	$,,.
 /	+s   A =;= A =A c                    V ^8  d   QhRRRR/# )ri   ru   rY   rj   zAsyncIterator[AsyncPageT]rl   )rm   s   "rn   ro   r  V  s      z .G rq   c               	   "   T p V5x  VP                  4       '       d   VP                  4       G Rj  xL
 pK6  R#  L5ir   r   r   s   & rn   r   BaseAsyncPage.iter_pagesV  s:     J!!##!//11 2s   ??=	?c                    V ^8  d   QhRRRR/# )ri   ru   rY   rj   rl   )rm   s   "rn   ro   r  _  s     g g* g grq   c                	   "   V P                  4       pV'       g   \        R 4      hV P                  V4      pV P                  P	                  V P
                  V P                  VR7      G Rj  xL
 #  L5i)r   r   Nr   r   s   &  rn   r   BaseAsyncPage.get_next_page_  sc     ""$k  ''-\\33DKKdnn^e3ffffs   A*A3,A1-A3r   N)r   r   r   r   r   r   r   r   r   r   r   r   r   rl   rq   rn   r  r  A  s0    &224G^4 
g grq   r  _HttpxClientT_DefaultStreamTc                  X   ] tR tRt$ R]R&   R]R&   R]R&   R]R	&   R
]R&   R]R&   R]R&   RtR]R&   R	]R]RRRR/R R lltR R lt	R R lt
R R ltR R ltR R  ltR! R" ltR#^ /R$ R% lltR& R' ltR( R) ltR#^ /R* R+ lltR, R- ltR. R/ ltR0 R1 ltR2 R3 lt]R4 R5 l4       t]R6 R7 l4       t]R8 R9 l4       t]R: R; l4       t]R< R= l4       tR> R? lt]R@ RA l4       t]RB RC l4       t]P@                  RD RE l4       tRF RG lt!RQRH RI llt"RQRJ RK llt#RL RM lt$RN RO lt%RPt&R# )R
BaseClientin  r  r   r   _versionr   	_base_urlintmax_retrieszUnion[float, Timeout, None]timeoutr   _strict_response_validation
str | None_idempotency_headerNztype[_DefaultStreamT] | None_default_stream_clscustom_headerscustom_queryc               8    V ^8  d   QhRRRRRRRRR	R
RRRRRR/# )ri   versionr   base_url	str | URLr  r   r  r  r  zfloat | Timeout | Noner  Mapping[str, str] | Noner  Mapping[str, object] | Nonerj   rk   rl   )rm   s   "rn   ro   BaseClient.__annotate__x  s\        	
 &*  ( 1 2 
rq   c               	    Wn         V P                  \        V4      4      V n        W@n        WPn        T;'       g    / V n        T;'       g    / V n        W0n        R V n	        R V n
        Vf   \        R4      hR # )Nzmax_retries cannot be None. If you want to disable retries, pass `0`; if you want unlimited retries, pass `math.inf` or a very high number; if you want the default behavior, pass `openai.DEFAULT_MAX_RETRIES`)r  _enforce_trailing_slashr   r  r  r  _custom_headers_custom_queryr  r  	_platformr   )ru   r!  r"  r  r  r  r  r  s   &$$$$$$$rn   rv   BaseClient.__init__x  s}      55c(mD&-33)//R+F(#' *. b  rq   c                    V ^8  d   QhRRRR/# )ri   rc   r   rj   rl   )rm   s   "rn   ro   r&    s     ; ;3 ;3 ;rq   c                	    VP                   P                  R 4      '       d   V# VP                  VP                   R ,           R7      # )   /raw_path)r1  endswithr   rt   s   &&rn   r(  "BaseClient._enforce_trailing_slash  s6    <<  &&J}}cllT&9}::rq   c                    V ^8  d   QhRRRR/# )ri   responsehttpx.Responserj   rP   rl   )rm   s   "rn   ro   r&    s"     N N N 
Nrq   c                	r   VP                   '       d%   VP                  '       g   R pRVP                   2pMEVP                  P	                  4       pTp \
        P                  ! V4      pRVP                   RV 2pV P                  W2VR7      #   \         d    T;'       g    RTP                   2p L9i ; i)NzError code: z - )bodyr5  )		is_closedis_stream_consumedstatus_codetextstriprg   loads	Exception_make_status_error)ru   r5  r8  err_msgerr_texts   &&   rn    _make_status_error_from_response+BaseClient._make_status_error_from_response  s     h&A&A&A D$X%9%9$:;G}}**,HDLzz(+()=)=(>c$H &&wH&MM  L"KKX5I5I4J&KLs   (B B6#B65B6c               (    V ^8  d   QhRRRRRRRR/# )	ri   rA  r   r8  objectr5  r6  rj   z_exceptions.APIStatusErrorrl   )rm   s   "rn   ro   r&    s2     $ $$ 	$
 !$ 
$$rq   c               	    \        4       hrs   )NotImplementedError)ru   rA  r8  r5  s   &&$$rn   r@  BaseClient._make_status_error  s     "##rq   c                    V ^8  d   QhRRRR/# ri   securityr<   rj   dict[str, str]rl   )rm   s   "rn   ro   r&          ! 
rq   c                	    / # rs   rl   ru   rL  s   &&rn   _auth_headersBaseClient._auth_headers  	     	rq   c                    V ^8  d   QhRRRR/# rK  rl   )rm   s   "rn   ro   r&    rN  rq   c                	    / # rs   rl   rP  s   &&rn   _auth_queryBaseClient._auth_query  rS  rq   c                    V ^8  d   QhRRRR/# )ri   rL  r<   rj   httpx.Auth | Nonerl   )rm   s   "rn   ro   r&    s      ! 
rq   c                	    R # rs   rl   rP  s   &&rn   _custom_authBaseClient._custom_auth  s     rq   retries_takenc               $    V ^8  d   QhRRRRRR/# )ri   r   r=   r]  r  rj   zhttpx.Headersrl   )rm   s   "rn   ro   r&    s#      &9 S Yf rq   c               	   VP                   ;'       g    / p\        / V P                  VP                  4      CV P                  CV4      pV P                  WC4       \        P                  ! V4      pV P                  pV'       d'   VP                  '       d   We9  d   VP                  WV&   V Uu. uF  qwP                  4       NK  	  ppR V9  d   \        V4      VR &   RV9  dm   \        VP                  \        4      '       d   V P                  MVP                  p	\        V	\        4      '       d   V	P                   p	V	e   \        V	4      VR&   V# u upi )zx-stainless-retry-countzx-stainless-read-timeout)headers_merge_mappingsrQ  rL  default_headers_validate_headersr   r#   r  idempotency_keylowerr   r   r  r%   r$   read)
ru   r   r]  r  headers_dictr`  idempotency_headerheaderlower_custom_headersr  s
   &&$       rn   _build_headersBaseClient._build_headers  s%    ..B&'g$*<*<W=M=M*N'gRVRfRf'giwx|< ---!55'"9"9"9>P>_*1*A*AG' >LL^6^L$,@@14]1CG-.%-AA&0(&K&KdllQXQ`Q`G'7++!,,"69'l23  Ms   /Ec                    V ^8  d   QhRRRR/# )ri   rc   r   rj   r   rl   )rm   s   "rn   ro   r&    s        rq   c                    \        V4      pVP                  '       dS   V P                  P                  VP                  P	                  R4      ,           pV P                  P                  VR7      # V# )zs
Merge a URL argument together with any 'base_url' on the client,
to create the URL used for the outgoing request.
r/  r0  )r   is_relative_urlr"  r1  lstripr   )ru   rc   	merge_urlmerge_raw_paths   &&  rn   _prepare_urlBaseClient._prepare_url  s]     H	$$$!]]33i6H6H6O6OPT6UUN==**N*CCrq   c                   V ^8  d   QhRR/# )ri   rj   zSSEDecoder | SSEBytesDecoderrl   )rm   s   "rn   ro   r&    s      #? rq   c                	    \        4       # rs   )rL   r   s   &rn   _make_sse_decoderBaseClient._make_sse_decoder  s
    |rq   c               $    V ^8  d   QhRRRRRR/# )ri   r   r=   r]  r  rj   httpx.Requestrl   )rm   s   "rn   ro   r&    s-     j
 j
$j
 	j

 
j
rq   c               	`   \         P                  \        P                  4      '       d2   \         P	                  R \        TR\        '       d   R0M/ R7      4       / pVP                  pVP                  e_   Vf   \        \        VP                  4      pM?\        V4      '       d   \        WAP                  4      pM\        R\        V4       R24      hV P                  WR7      p\        / V P!                  VP"                  4      CV P$                  CVP&                  4      pVP)                  R4      pVP*                  pVe   VP-                  R	4      '       d~   R
V9  d   VP/                  R4       V'       d>   \1        V4      '       g   \3        R\        V4       R24      hV P5                  V4      VR&   V'       g   \        \6        \9        4       4      pV P;                  VP<                  4      p	V'       dm   V	P>                  '       d[   / \A        V	P&                  PC                  4       4      CVCpV	PE                  V	PF                  PI                  R^4      ^ ,          R7      p	RV	PJ                  9   d"   RV	PJ                  PM                  RR4      /VR&   VPN                  PQ                  4       R8g  p
V
'       d   VPR                  e   Ve   \3        R4      hVPR                  e   Ve   \3        R4      hVPR                  e   VPR                  VR&   MH\U        V\V        4      '       d   WCR&   M-V'       g&   \Y        V4      '       d   Ve   \[        V4      MRVR&   WR&   M$VP/                  RR4       VP/                  RR4       V P\                  P^                  ! RRTR\U        VP`                  \b        4      '       d   V P`                  MVP`                  RVPN                  RT	RV'       d;   V Pd                  Pg                  \        \h        \j        \l        3,          V4      4      MR/VB # )zRequest options: %sTcontent)exclude_unsetexcludeNzUnexpected JSON data type, z , cannot merge with `extra_body`r]  Content-Typezmultipart/form-databoundaryzGExpected query input to be a dictionary for multipart requests but got z	 instead.data   ?r0  _sni_hostname-
extensionsgetz7Passing both `content` and `json_data` is not supportedz3Passing both `content` and `files` is not supportedfilesr`  r  methodrc   re   rl   )7rV   isEnabledForloggingDEBUGdebugr:   r8   r   
extra_jsonr   r    r7   ra  r   typerk  rV  rL  default_queryre   r  r  
startswithpopr2   r   _serialize_multipartformr.   ForceMultipartDictrs  rc   queryr   r   r   r1  splithostreplacer  re  r|  r   bytesr5   rT   r   build_requestr  r%   qs	stringifyr   r   r   )ru   r   r]  kwargsr   r`  re   content_typer  prepared_urlis_body_alloweds   &&$        rn   _build_requestBaseClient._build_request  s    GMM**II%"&
 #{ " 	 "$%%	)  w'9'9:	I&&+I7I7IJ	"%@i@QQq#rss%%g%K !]D$4$4W5E5E$F!]$J\J\!]_f_m_mn{{>2 #(?(?@U(V(V- N+ y))#abfgpbqarr{|  "&!>!>y!Iv .0B0DE((5l(((D\006689DVDF'11<;P;P;V;VW[]^;_`a;b1cL,###$2L4E4E4M4McSV4W#XF< !....0E9*y/D YZZ*u/@ UVV*$+OOy!Iu--$-y! AI@S@SXaXmM)$<swy!#7OKK-JJvt$ ||)) 

$.w$I$IDLLw
 >>
 	
 JP477$$T'#s(*;V%DEUY
 
 	
rq   c                    V ^8  d   QhRRRR/# )ri   r  zMapping[object, object]rj   dict[str, object]rl   )rm   s   "rn   ro   r&  ^  s      -D IZ rq   c                	    V P                   P                  VR R7      p/ pV FM  w  rEVP                  V4      pV'       g   WSV&   K$  \        V4      '       d   VP	                  V4       KH  We.W4&   KO  	  V# )brackets)array_format)r  stringify_itemsr  r3   append)ru   r  r   
serializedkeyvalueexistings   &&     rn   r  #BaseClient._serialize_multipartform^  s|    '' #	 ( 
 )+
JC!~~c*H"'3 x  &#+"3
%  ( rq   c               $    V ^8  d   QhRRRRRR/# )ri   cast_totype[ResponseT]r   r=   rj   rl   )rm   s   "rn   ro   r&  |  s#       I\ ap rq   c                	   \        VP                  4      '       g   V# \        VP                  4      pVP                  \        \
        4      p\        V4      '       d"   W2n        \        \        \        ,          V4      # V# rs   )	r5   r`  r   r  rI   r0   r   r	   r&   )ru   r  r   r`  override_cast_tos   &&&  rn   _maybe_override_cast_to"BaseClient._maybe_override_cast_to|  sb    ((N w'
 #;;'>	J$%%%OY)9::rq   c                    V ^8  d   QhRRRR/# )ri   r   rz  rj   r   rl   )rm   s   "rn   ro   r&    s     D DM Dd Drq   c                	F    VP                   P                  \        4      R 8H  # stream)r`  r  rH   ru   r   s   &&rn   _should_stream_response_body'BaseClient._should_stream_response_body  s    ""#678CCrq   c               (    V ^8  d   QhRRRRRRRR/# )	ri   r  rF  r  r  r5  r6  rj   r&   rl   )rm   s   "rn   ro   r&    s:     T T T !	T
 !T 
Trq   c               	   Vf   \        \        R 4      # V\        J d   \        \        V4      #  \        P                  ! V4      '       d7   \        V\        4      '       d!   \        \        VP                  W1R7      4      # V P                  '       d   \        \        \        W!R7      4      # \        \        \        W!R7      4      #   \        P                   d   p\        Y1R7      ThR p?ii ; i)N)r5  r  )type_r  )r5  r8  )r   r&   rF  inspectisclass
issubclassr/   buildr  r>   r?   r   ValidationErrorrS   )ru   r  r  r5  errs   &$$$ rn   _process_response_data!BaseClient._process_response_data  s     <	4((f	4((		Tw''Jw@T,U,UIw}}h}'RSS///I}7'OPP	>#LMM'' 	T,hJPSS	Ts/   C 5C C C .C C/C**C/c                   V ^8  d   QhRR/# )ri   rj   r   rl   )rm   s   "rn   ro   r&    s      K rq   c                	    \        4       # rs   r   r   s   &rn   r  BaseClient.qs  s
    }rq   c                   V ^8  d   QhRR/# )ri   rj   rY  rl   )rm   s   "rn   ro   r&    s      . rq   c                	    R # rs   rl   r   s   &rn   custom_authBaseClient.custom_auth  s    rq   c                   V ^8  d   QhRR/# )ri   rj   rM  rl   )rm   s   "rn   ro   r&    s      n rq   c                	    / # rs   rl   r   s   &rn   auth_headersBaseClient.auth_headers  s    	rq   c                   V ^8  d   QhRR/# )ri   rj   zdict[str, str | Omit]rl   )rm   s   "rn   ro   r&    s     
 
!6 
rq   c                	^    R RRRRV P                   /V P                  4       CV P                  C# )Acceptzapplication/jsonr  z
User-Agent)
user_agentplatform_headersr)  r   s   &rn   rb  BaseClient.default_headers  sF     (.$//
 ##%	

 ""
 	
rq   c                   V ^8  d   QhRR/# )ri   rj   r  rl   )rm   s   "rn   ro   r&    s     
 
0 
rq   c                	    / V P                   C# rs   )r*  r   s   &rn   r  BaseClient.default_query  s    
  
 	
rq   c               $    V ^8  d   QhRRRRRR/# )ri   r`  r#   r  rj   rk   rl   )rm   s   "rn   ro   r&    s(     	 		  	 
		rq   c                    R# )zQValidate the given default headers and custom headers.

Does nothing by default.
Nrl   )ru   r`  r  s   &&&rn   rc  BaseClient._validate_headers  s     	rq   c                   V ^8  d   QhRR/# r   rl   )rm   s   "rn   ro   r&    s     C CC Crq   c                	L    V P                   P                   R V P                   2# )z/Python )r   r   r  r   s   &rn   r  BaseClient.user_agent  s"    ..))*(4==/BBrq   c                   V ^8  d   QhRR/# )ri   rj   r   rl   )rm   s   "rn   ro   r&    s      # rq   c                	    V P                   # rs   )r  r   s   &rn   r"  BaseClient.base_url  s    ~~rq   c                    V ^8  d   QhRRRR/# )ri   rc   z	URL | strrj   rk   rl   )rm   s   "rn   ro   r&    s     a aI a$ arq   c                	t    T P                  \        V\        4      '       d   TM
\        V4      4      V n        R # rs   )r(  r   r   r  rt   s   &&rn   r"  r    s)    55ZS=Q=QcWZ[^W_`rq   c                   V ^8  d   QhRR/# )ri   rj   Dict[str, str]rl   )rm   s   "rn   ro   r&    s     H H. Hrq   c                	D    \        V P                  V P                  R 7      # ))platform)r  r  r+  r   s   &rn   r  BaseClient.platform_headers  s      GGrq   c                    V ^8  d   QhRRRR/# )ri   response_headersOptional[httpx.Headers]rj   zfloat | Nonerl   )rm   s   "rn   ro   r&    s      /  /:Q  /]i  /rq   c                   Vf   R#  VP                  RR4      p\        V4      R,          #   \        \        3 d     Mi ; iTP                  R4      p \        T4      #   \        \        3 d     Mi ; i\        P
                  P                  T4      pTf   R# \        P
                  P                  T4      p\        T\        P                  ! 4       ,
          4      # )a(  Returns a float of the number of seconds (not milliseconds) to wait after retrying, or None if unspecified.

About the Retry-After header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After
See also  https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After#syntax
Nzretry-after-ms  zretry-after)	r  floatr   r   emailutilsparsedate_tz	mktime_tztime)ru   r  retry_ms_headerretry_headerretry_date_tuple
retry_dates   &&    rn   _parse_retry_after_header$BaseClient._parse_retry_after_header  s     #	.223CTJO)D00:& 		 (++M:	 &&:& 		 !;;33LA#[[**+;<
Z$))+-..s    #, A A 
A   A43A4c               (    V ^8  d   QhRRRRRRRR/# )	ri   remaining_retriesr  r   r=   r  r  rj   r  rl   )rm   s   "rn   ro   r&    s2     . .. %. 2	.
 
.rq   c                	L   VP                  V P                  4      pV P                  V4      pVe   ^ Tu;8  d
   ^<8:  d    V#  \        WA,
          R4      p\        \        \        RV4      ,          \        4      p^R\        4       ,          ,
          pWx,          p	V	^ 8  d   V	# ^ # )Nr  g       @g      ?)get_max_retriesr  r  minrG   powrE   r   )
ru   r  r   r  r  retry_after
nb_retriessleep_secondsjitterr  s
   &&&&      rn   _calculate_retry_timeout#BaseClient._calculate_retry_timeout  s     --d.>.>? 445EF"q;'<"'< (= 8$?
 /#c:2FFX TFH_$(!Q,w-A-rq   c                    V ^8  d   QhRRRR/# )ri   r5  r6  rj   r   rl   )rm   s   "rn   ro   r&    s     ! !n ! !rq   c                	v   VP                   P                  R 4      pVR8X  d   \        P                  R4       R# VR8X  d   \        P                  R4       R# VP                  R8X  d#   \        P                  RVP                  4       R# VP                  R	8X  d#   \        P                  RVP                  4       R# VP                  R
8X  d#   \        P                  RVP                  4       R# VP                  R8  d#   \        P                  RVP                  4       R# \        P                  R4       R# )zx-should-retrytruez4Retrying as header `x-should-retry` is set to `true`Tfalsez9Not retrying as header `x-should-retry` is set to `false`Fi  zRetrying due to status code %ii  i  i  zNot retrying)r`  r  rV   r  r;  )ru   r5  should_retry_headers   && rn   _should_retryBaseClient._should_retry  s    &..223CD &(IILM')IIQR 3&II68L8LM 3&II68L8LM 3&II68L8LM 3&II68L8LM		.!rq   c                   V ^8  d   QhRR/# r   rl   )rm   s   "rn   ro   r&  >  s     8 8# 8rq   c                	2    R \         P                  ! 4        2# )zstainless-python-retry-)uuiduuid4r   s   &rn   _idempotency_keyBaseClient._idempotency_key>  s    (77rq   )	r  r)  r*  r  r+  r  r  r  r  rs   )'r   r   r   r   r   r  rF   rD   rv   r(  rC  r@  rQ  rV  r[  rk  rs  rw  r  r  r  r  r  propertyr  r  r  rb  r  rc  r  r"  setterr  r  r  r  r  r   rl   rq   rn   r  r  n  s   MN((!%%##8<5< / +: 48 594;
N,$ST 4j
 	j
X<"DT0       
 
 
 

	 C C   __a aH /D.0!F8 8rq   r  c                  .   a  ] tR tRtR V 3R lltRtV ;t# )_DefaultHttpxClientiB  c                    V ^8  d   QhRRRR/# ri   r  r   rj   rk   rl   )rm   s   "rn   ro    _DefaultHttpxClient.__annotate__C       # # # #rq   c                	   < VP                  R \        4       VP                  R\        4       VP                  RR4       \        SV `  ! R/ VB  R# r  limitsfollow_redirectsTNrl   
setdefaultrD   rJ   superrv   ru   r  r   s   &,rn   rv   _DefaultHttpxClient.__init__C  E    )_5($=>,d3"6"rq   rl   r   r   r   r   rv   r   __classcell__r   s   @rn   r  r  B      # #rq   r  c                  "    ] tR tRtR R ltRtR# )SyncHttpxClientWrapperiV  c                   V ^8  d   QhRR/# ri   rj   rk   rl   )rm   s   "rn   ro   #SyncHttpxClientWrapper.__annotate__W  s       rq   c                	t    V P                   '       d   R #  V P                  4        R #   \         d     R # i ; irs   )r9  closer?  r   s   &rn   __del__SyncHttpxClientWrapper.__del__W  s.    >>>	JJL 		s   ( 77rl   Nr   r   r   r   r4  r   rl   rq   rn   r.  r.  V  s     rq   r.  c                    a  ] tR tRt$ R]R&   RtR]R&   R]R]R	RR
RRR/R V 3R llltR R lt	R R lt
R R ltR R ltR R ltR R ltR R lt]R R l4       t]RR/R  R! ll4       t]RRR"R/R# R$ ll4       tRRR"R/R% R& lltR' R( ltR)^ /R* R+ lltR, R- lt]R./ RR/R/ R0 ll4       t]R./ /R1 R2 ll4       t]R./ R"R/R3 R4 ll4       tR./ RRR"R/R5 R6 llt]R7RR8RR./ R9RRR/R: R; ll4       t]R7RR8RR./ R9R/R< R= ll4       t]R7RR8RR./ R9RR"R/R> R? ll4       tR7RR8RR./ R9RRRR"R/R@ RA lltR7RR8RR9RR./ /RB RC lltR7RR8RR9RR./ /RD RE lltR7RR8RR./ /RF RG lltR7RR./ RHRI/RJ RK lltRLtV ;t# )Mr   ia  zhttpx.Clientr   Nztype[Stream[Any]] | Noner  r  r  http_clientr  r  c               <    V ^8  d   QhRRRRRRRRR	R
RRRRRRRR/	# )ri   r!  r   r"  r#  r  r  r  !float | Timeout | None | NotGivenr8  zhttpx.Client | Noner  r$  r  r%  r  r   rj   rk   rl   )rm   s   "rn   ro   SyncAPIClient.__annotate__e  sf     ,
 ,
 ,
 	,

 ,
 3,
 ),
 1,
 2,
 &*,
 
,
rq   c          
     	  < \        V4      '       g1   V'       d#   VP                  \        8w  d   VP                  pM\        pVe8   \	        V\
        P                  4      '       g   \        R\        V4       24      h\        S	V `)  V\        \        V4      VVVVVR7       T;'       g    \        V\        \        V4      R7      V n        R # )NzOInvalid `http_client` argument; Expected an instance of `httpx.Client` but got )r!  r  r"  r  r  r  r  r"  r  )r5   r  HTTPX_DEFAULT_TIMEOUTrD   r   r   Clientr   r  r%  rv   r   r$   r.  r   )
ru   r!  r"  r  r  r8  r  r  r  r   s
   &$$$$$$$$rn   rv   SyncAPIClient.__init__e  s        {226KK%--)":k5<<+P+Pabfgrbsatu  	'*#%)(C 	 		
 # 
 
&<'*'
rq   c                   V ^8  d   QhRR/# r   rl   )rm   s   "rn   ro   r;         & &4 &rq   c                	.    V P                   P                  # rs   r   r9  r   s   &rn   r9  SyncAPIClient.is_closed      ||%%%rq   c                   V ^8  d   QhRR/# r0  rl   )rm   s   "rn   ro   r;    s     ! !t !rq   c                b    \        V R4      '       d   V P                  P                  4        R# R# )PClose the underlying HTTPX client.

The client will *not* be usable after this.
r   N)hasattrr   r3  r   s   &rn   r3  SyncAPIClient.close  s&     4##LL  $rq   c                    V ^8  d   QhRRRR/# ri   ru   rZ   rj   rl   )rm   s   "rn   ro   r;    s       r rq   c                	    V # rs   rl   r   s   &rn   	__enter__SyncAPIClient.__enter__  s    rq   c               (    V ^8  d   QhRRRRRRRR/# 	ri   exc_typeztype[BaseException] | NoneexczBaseException | Noneexc_tbzTracebackType | Nonerj   rk   rl   )rm   s   "rn   ro   r;    s2      , " %	
 
rq   c                	&    V P                  4        R # rs   r3  ru   rS  rT  rU  s   &&&&rn   __exit__SyncAPIClient.__exit__  s     	

rq   c                    V ^8  d   QhRRRR/# ri   r   r=   rj   rl   )rm   s   "rn   ro   r;          $ 
rq   c                    V# z#Hook for mutating the given optionsrl   ru   r   s   &&rn   _prepare_optionsSyncAPIClient._prepare_options  s	    
 rq   c                    V ^8  d   QhRRRR/# ri   r   rz  rj   rk   rl   )rm   s   "rn   ro   r;         	 		 
	rq   c                    R# zThis method is used as a callback for mutating the `Request` object
after it has been constructed.
This is useful for cases where you want to add certain headers based off of
the request properties, e.g. `url`, `method` etc.
Nrl   r  s   &&rn   _prepare_requestSyncAPIClient._prepare_request  s     rq   c               (    V ^8  d   QhRRRRRRRR/# 	ri   r   rz  r  r   r  zUnpack[HttpxSendArgs]rj   r6  rl   )rm   s   "rn   ro   r;    s8     C CC 	C
 (C 
Crq   c               	@    V P                   P                  ! V3R V/VB # r  r   sendru   r   r  r  s   &&$,rn   _send_requestSyncAPIClient._send_request  s#     ||  BB6BBrq   c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# )ri   r  Type[ResponseT]r   r=   r  Literal[True]
stream_clszType[_StreamT]rj   r]   rl   )rm   s   "rn   ro   r;    s<        %
  # 
rq   c               	    R # rs   rl   ru   r  r   r  ru  s   &&&$$rn   r   SyncAPIClient.request  s     rq   r  Fc               (    V ^8  d   QhRRRRRRRR/# 	ri   r  rs  r   r=   r  Literal[False]rj   r&   rl   )rm   s   "rn   ro   r;    2        %
  
rq   c               	    R # rs   rl   ru   r  r   r  s   &&&$rn   r   rx    s     rq   ru  c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# )ri   r  rs  r   r=   r  r   ru  zType[_StreamT] | Nonerj   ResponseT | _StreamTrl   )rm   s   "rn   ro   r;    s<     # # # %#
 # *# 
#rq   c               	    R # rs   rl   rw  s   &&&$$rn   r   rx    s      #rq   c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# )ri   r  rs  r   r=   r  r   ru  type[_StreamT] | Nonerj   r  rl   )rm   s   "rn   ro   r;    sC     z
 z
 z
 %z

 z
 *z
 
z
rq   c          	     	0   V P                  W4      p\        V4      pVP                  f5   VP                  P	                  4       R8w  d   V P                  4       Vn        R pVP                  V P                  4      p^ p\        V^,           4       EFu  p\        V4      pV P                  V4      pWx,
          p	V P                  W(R7      p
V P                  V
4       / pV P                  VP                  4      pVe   WR&   VP                  e   VP                  VR&   \        P!                  RV
P                  V
P"                  4       R p V P$                  ! V
3RT;'       g    V P'                  V
R7      /VB p\        P!                  RT
P                  T
P"                  TP6                  TP8                  TP:                  4       \        P!                  RTP:                  P=                  R4      4        TP?                  4         M	  Vf   Q R4       hV PO                  VVVVVVR7      #   \(        P*                   db   p\        P!                  RR	R
7       T	^ 8  d   T P-                  TTTR R7        R p?EK  \        P!                  R4       \/        T
R7      ThR p?i\0         d   pThR p?i\2         db   p\        P!                  RR	R
7       T	^ 8  d   T P-                  TTTR R7        R p?EKe  \        P!                  R4       \5        T
R7      ThR p?ii ; i  \(        P@                   d   p\        P!                  RR	R
7       T	^ 8  dX   T PC                  TPD                  4      '       d7   TPD                  PG                  4        T P-                  TTTTR7        R p?EK  TPD                  PH                  '       g   TPD                  PK                  4        \        P!                  R4       T PM                  TPD                  4      R hR p?ii ; iNr  r  authr"  zSending HTTP Request: %s %sr  )r   z"Encountered httpx.TimeoutExceptionT)exc_info)r]  r  r   r5  zRaising timeout errorzEncountered ExceptionzRaising connection errorzHTTP Response: %s %s "%i %s" %szrequest_id: %szx-request-idz!Encountered httpx.HTTPStatusErrorzRe-raising status errorz0could not resolve response (should never happen))r  r   r5  r  ru  r]  )(r  r9   rd  r  re  r  r  r  rangera  r  rh  r[  rL  r"  rV   r  rc   rp  r  r   TimeoutException_sleep_for_retryrQ   rO   r?  rR   r;  reason_phraser`  r  raise_for_statusHTTPStatusErrorr  r5  r3  r9  rf  rC  _process_response)ru   r  r   r  ru  input_optionsr5  r  r]  r  r   r  r  r  s   &&&$$         rn   r   rx    s    ..w@
 #7+((0]5I5I5O5O5QUZ5Z,0,A,A,CM)*.#33D4D4DE";?3M /G++G4G + ;))')OG!!'*$&F++G,<,<=K&!,v''3-4-E-E)*II3W^^W[[QH$C--!WWT%F%Fw%F%W J II1$$&&   II&(8(8(<(<^(LMT))+, u 4x #W%WW#%%!' & 
 	
I )) @		>	N$q())&3$/ -!%	 *  		12%g6C? 	 C		1D	A$q())&3$/ -!%	 *  		45(9sBC6 (( T		=	M$q(T-?-?-M-MLL&&())&3$/ -!)	 *   ||---LL%%'		34;;CLLItS'Tsy   H,#H,6L,L3J;"JL*L+J--L:L;3L5"LLP4>P3/P)PAPPc          
     ,    V ^8  d   QhRRRRRRRRRR	/# 
ri   r]  r  r  r   r=   r5  zhttpx.Response | Nonerj   rk   rl   )rm   s   "rn   ro   r;  _  s4       #25@S_t	rq   c               	6   W!,
          pV^8X  d   \         P                  R4       M\         P                  RV4       T P                  YSV'       d   VP                  MR4      p\         P	                  RVP
                  V4       \        P                  ! V4       R#    z1 retry leftz%i retries leftNz$Retrying request to %s in %f seconds)rV   r  r  r`  r   rc   r  sleepru   r]  r  r   r5  r  r  s   &$$$$  rn   r  SyncAPIClient._sleep_for_retry_  sq     (7!IIn%II'):;//0A`hHL\L\nrs7gN

7rq   r]  c               4    V ^8  d   QhRRRRRRRRR	R
RRRR/# ri   r  rs  r   r=   r5  r6  r  r   ru  z1type[Stream[Any]] | type[AsyncStream[Any]] | Noner]  r  rj   r&   rl   )rm   s   "rn   ro   r;  m  s\     B$ B$ !B$ %	B$
 !B$ B$ FB$ B$ 
B$rq   c               	   VP                   P                  P                  \        4      R 8X  d!   \	        \
        \        VV VVVVVR7      4      # \        V4      ;'       g    Tp\        P                  ! V4      '       d   \        V\        4      '       d   V'       d9   \        VP                   P                  P                  \        4      4      '       d^   \        V\        4      '       g   \        R\         RV 24      h\	        RV4      p\	        \
        V! VV \        V4      VVVVR7      4      # V\         P"                  8X  d   \	        \
        V4      # \        VV \	        RV4      VVVVR7      p	\        VP                   P                  P                  \        4      4      '       d   \	        \
        V	4      # V	P%                  4       # )r  rawr   r  r  ru  r   r]  !API Response types must subclass ; Received type[BaseAPIResponse[Any]]r  )r   r`  r  rH   r   r&   rU   r   r  r  r  rA   r   r@   r   rC   r   Responseparse
ru   r  r   r5  r  ru  r]  originresponse_clsapi_responses
   &$$$$$$   rn   r  SyncAPIClient._process_responsem  s    ##''(;<F! #!)#"/  G$// OOF##6?33 tH$4$4$<$<$@$@AT$UVVfk22"CK=P[\b[c dee <gFL 1,?!)#"/  enn$	8,,"*G4!'
   ((,,-@ABB	<00!!##rq   c               (    V ^8  d   QhRRRRRRRR/# )	ri   r   Type[object]r   Type[SyncPageT]r   r=   rj   rW   rl   )rm   s   "rn   ro   r;    s2     9 99 9 %	9
 
9rq   c                	T   a aa R  VVV 3R llpVSn         S P                  VSRR7      # )c                    V ^8  d   QhRRRR/# )ri   r   rW   rj   rl   )rm   s   "rn   ro   5SyncAPIClient._request_api_list.<locals>.__annotate__  s     	 	) 		 	rq   c                0   < V P                  SSSR 7       V # ))r   r   r   )r   )r   r   r   ru   s   &rn   r   0SyncAPIClient._request_api_list.<locals>._parser  s&    (( ) 
 Krq   Fr  )r   r   )ru   r   r   r   r   s   ff&f rn   r   SyncAPIClient._request_api_list  s,    	 	 &||D'%|88rq   r   c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# ri   pathr   r  rs  r   r,   r  r{  rj   r&   rl   )rm   s   "rn   ro   r;    <       !	
    
rq   c               	    R # rs   rl   ru   r  r  r   r  s   &&$$$rn   r  SyncAPIClient.get  s     rq   c               0    V ^8  d   QhRRRRRRRRR	R
RR/# )ri   r  r   r  rs  r   r,   r  rt  ru  type[_StreamT]rj   r]   rl   )rm   s   "rn   ro   r;    sF       !	
    # 
rq   c               	    R # rs   rl   ru   r  r  r   r  ru  s   &&$$$$rn   r  r    s     rq   c               0    V ^8  d   QhRRRRRRRRR	R
RR/# ri   r  r   r  rs  r   r,   r  r   ru  r  rj   r  rl   )rm   s   "rn   ro   r;    sF     # ## !	#
  # # *# 
#rq   c               	    R # rs   rl   r  s   &&$$$$rn   r  r    s      #rq   c               0    V ^8  d   QhRRRRRRRRR	R
RR/# r  rl   )rm   s   "rn   ro   r;    sN     b bb !	b
  b b *b 
brq   c          
     	x    \         P                  ! RR RRV/VB p\        \        V P	                  W&WER7      4      # )r  r  rc   r  ru  rl   )r=   	constructr   r&   r   ru   r  r  r   r  ru  optss   &&$$$$ rn   r  r    s=     #,,OEOtOwO It||G&|`aarq   r8  r|  r  c               8    V ^8  d   QhRRRRRRRRR	R
RRRRRR/# )ri   r  r   r  rs  r8  Body | Noner|  BinaryTypes | Noner   r,   r  RequestFiles | Noner  r{  rj   r&   rl   )rm   s   "rn   ro   r;    sZ     
 

 !	

 
 $
  
 #
 
 

rq   c               	    R # rs   rl   )ru   r  r  r8  r|  r   r  r  s   &&$$$$$$rn   postSyncAPIClient.post  s     rq   c               <    V ^8  d   QhRRRRRRRRR	R
RRRRRRRR/	# )ri   r  r   r  rs  r8  r  r|  r  r   r,   r  r  r  rt  ru  r  rj   r]   rl   )rm   s   "rn   ro   r;    sd       !	
  $   #  # 
rq   c               	    R # rs   rl   	ru   r  r  r8  r|  r   r  r  ru  s	   &&$$$$$$$rn   r  r    s     rq   c               <    V ^8  d   QhRRRRRRRRR	R
RRRRRRRR/	# ri   r  r   r  rs  r8  r  r|  r  r   r,   r  r  r  r   ru  r  rj   r  rl   )rm   s   "rn   ro   r;    sd     # ## !	#
 # $#  # ## # *# 
#rq   c               	    R # rs   rl   r  s	   &&$$$$$$$rn   r  r    s      #rq   c               <    V ^8  d   QhRRRRRRRRR	R
RRRRRRRR/	# r  rl   )rm   s   "rn   ro   r;    so     b bb !	b
 b $b  b #b b *b 
brq   c               	H   Ve   Ve   \        R4      hVe   Ve   \        R4      h\        V\        4      '       d   \        P                  ! R\
        ^R7       \        P                  ! RRRRVRVR	VR
\        V4      /VB p	\        \        V P                  W)WxR7      4      # N2Passing both `body` and `content` is not supported3Passing both `files` and `content` is not supportedPassing raw bytes as `body` is deprecated and will be removed in a future version. Please pass raw bytes via the `content` parameter instead.
stacklevelr  r  rc   r   r|  r  r  rl   )r   r   r  warningswarnDeprecationWarningr=   r  r   r   r&   r   )
ru   r  r  r8  r|  r   r  r  ru  r  s
   &&$$$$$$$ rn   r  r    s      3PQQ!4QRRdE""MMM"	 #,, 

#
/3
=D
LZ[`La
el
 It||G&|`aarq   c               4    V ^8  d   QhRRRRRRRRR	R
RRRR/# ri   r  r   r  rs  r8  r  r|  r  r  r  r   r,   rj   r&   rl   )rm   s   "rn   ro   r;  6  P     + ++ !	+
 + $+ #+  + 
+rq   c               	(   Ve   Ve   \        R4      hVe   Ve   \        R4      h\        V\        4      '       d   \        P                  ! R\
        ^R7       \        P                  ! RRRRVRVR	VR
\        V4      /VB pV P                  W'4      # Nr  r  r  r  r  patchrc   r   r|  r  rl   
r   r   r  r  r  r  r=   r  r   r   ru   r  r  r8  r|  r  r   r  s   &&$$$$$ rn   r  SyncAPIClient.patch6  s      3PQQ!4QRRdE""MMM"	 #,, 

 $
04
>E
M[\aMb
fm
 ||G**rq   c               4    V ^8  d   QhRRRRRRRRR	R
RRRR/# r  rl   )rm   s   "rn   ro   r;  P  r  rq   c               	(   Ve   Ve   \        R4      hVe   Ve   \        R4      h\        V\        4      '       d   \        P                  ! R\
        ^R7       \        P                  ! RRRRVRVR	VR
\        V4      /VB pV P                  W'4      # Nr  r  r  r  r  putrc   r   r|  r  rl   r  r  s   &&$$$$$ rn   r  SyncAPIClient.putP  s      3PQQ!4QRRdE""MMM"	 #,, 

"
.2
<C
KYZ_K`
dk
 ||G**rq   c               0    V ^8  d   QhRRRRRRRRR	R
RR/# )ri   r  r   r  rs  r8  r  r|  r  r   r,   rj   r&   rl   )rm   s   "rn   ro   r;  j  sF     + ++ !	+
 + $+  + 
+rq   c               	    Ve   Ve   \        R4      h\        V\        4      '       d   \        P                  ! R\
        ^R7       \        P                  ! R	RRRVRVRV/VB pV P                  W&4      # 
Nr  r  r  r  deleterc   r   r|  rl   	r   r   r  r  r  r  r=   r  r   ru   r  r  r8  r|  r   r  s   &&$$$$ rn   r  SyncAPIClient.deletej  s{      3PQQdE""MMM"	 #,,sHs$sRVs`gskrs||G**rq   r  r  c               4    V ^8  d   QhRRRRRRRRR	R
RRRR/# )ri   r  r   r   r  r   r  r8  r  r   r,   r  rj   rW   rl   )rm   s   "rn   ro   r;    sP     9 99 	9
 9 9  9 9 
9rq   c          	     	^    \         P                  ! RR VRVRV/VB pV P                  W#V4      # r  rc   r   rl   r=   r  r   ru   r  r   r   r8  r   r  r  s   &&$$$$$ rn   get_api_listSyncAPIClient.get_api_list  ;     #,,`F``PT`X_`%%e488rq   )r   )r   r   r   r   r   r  rF   r0   rv   r9  r3  rO  rY  ra  rh  rp  r   r   r  r  r   r  r  r  r  r  r  r   r*  r+  s   @rn   r   r   a  sS   4818,

 /,
 6?,
 ,0,
 48,
 59,
 ,
\&!	C   
 "'  #
 # -1# #z

 z
 -1z
xB$ B$H9$ 
 #% "'  
 #%  #
 #%# -1# #b
 #%b b -1b 

 !
 '+
 #%
 &*
 "'
 
 
 ! '+ #% &*  #
 !# '+# #%# &*# -1# #b
 !b '+b #%b &*b b -1b8+
 !+ '++ &*+ #%+4+
 !+ '++ &*+ #%+4+
 !+ '++ #%+*9 !9 #%9 9 9rq   r   c                  .   a  ] tR tRtR V 3R lltRtV ;t# )_DefaultAsyncHttpxClienti  c                    V ^8  d   QhRRRR/# r  rl   )rm   s   "rn   ro   %_DefaultAsyncHttpxClient.__annotate__  r  rq   c                	   < VP                  R \        4       VP                  R\        4       VP                  RR4       \        SV `  ! R/ VB  R# r   r#  r&  s   &,rn   rv   !_DefaultAsyncHttpxClient.__init__  r(  rq   rl   r)  r+  s   @rn   r  r    r,  rq   r  c                  .   a  ] tR tRtR V 3R lltRtV ;t# )_DefaultAioHttpClienti  c                    V ^8  d   QhRRRR/# r  rl   )rm   s   "rn   ro   "_DefaultAioHttpClient.__annotate__  s     	' 	'S 	'T 	'rq   c                	   < VP                  R \        4       VP                  R\        4       VP                  RR4       \        SV `  ! R/ VB  R# r   r#  r&  s   &,rn   rv   _DefaultAioHttpClient.__init__  sE    i9h(AB0$7G&v&rq   rl   r)  r+  s   @rn   r   r     s    	' 	'rq   r   c                  "    ] tR tRtR R ltRtR# )r   i  c                    V ^8  d   QhRRRR/# )ri   _kwargsr   rj   rk   rl   )rm   s   "rn   ro   r    s     	y 	yc 	yd 	yrq   c                	    \        R 4      h)zVTo use the aiohttp client you must have installed the package with the `aiohttp` extra)r   )ru   r  s   &,rn   rv   r    s    wxxrq   rl   N)r   r   r   r   rv   r   rl   rq   rn   r   r     s    	y 	yrq   c                  "    ] tR tRtR R ltRtR# )AsyncHttpxClientWrapperi  c                   V ^8  d   QhRR/# r0  rl   )rm   s   "rn   ro   $AsyncHttpxClientWrapper.__annotate__  s       rq   c                	    V P                   '       d   R #  \        P                  ! 4       P                  V P	                  4       4       R #   \
         d     R # i ; irs   )r9  asyncioget_running_loopcreate_taskacloser?  r   s   &rn   r4  AsyncHttpxClientWrapper.__del__  sB    >>>	$$&224;;=A 		s   2A
 
AArl   Nr6  rl   rq   rn   r
  r
    s     rq   r
  c                    a  ] tR tRt$ R]R&   RtR]R&   R]R]R	RR
RRR/R V 3R llltR R lt	R R lt
R R ltR R ltR R ltR R ltR R lt]RR/R R ll4       t]R  R! l4       t]R"R/R# R$ ll4       tRRR"R/R% R& lltR' R( ltR)^ /R* R+ lltR, R- lt]R./ RR/R/ R0 ll4       t]R./ /R1 R2 ll4       t]R./ R"R/R3 R4 ll4       tR./ RRR"R/R5 R6 llt]R7RR8RR9RR./ RR/R: R; ll4       t]R7RR8RR9RR./ /R< R= ll4       t]R7RR8RR9RR./ R"R/R> R? ll4       tR7RR8RR9RR./ RRR"R/R@ RA lltR7RR8RR9RR./ /RB RC lltR7RR8RR9RR./ /RD RE lltR7RR8RR./ /RF RG lltR7RR./ RHRI/RJ RK lltRLtV ;t# )Mr   i  zhttpx.AsyncClientr   Nztype[AsyncStream[Any]] | Noner  r  r  r8  r  r  c               <    V ^8  d   QhRRRRRRRRR	R
RRRRRRRR/	# )ri   r!  r   r"  r#  r  r   r  r  r  r:  r8  zhttpx.AsyncClient | Noner  r$  r  r%  rj   rk   rl   )rm   s   "rn   ro   AsyncAPIClient.__annotate__  sf     ,
 ,
 ,
 	,

 &*,
 ,
 3,
 .,
 1,
 2,
 
,
rq   c          
     	  < \        V4      '       g1   V'       d#   VP                  \        8w  d   VP                  pM\        pVe8   \	        V\
        P                  4      '       g   \        R\        V4       24      h\        S	V `)  VV\        \        V4      VVVVR7       T;'       g    \        V\        \        V4      R7      V n        R # )NzTInvalid `http_client` argument; Expected an instance of `httpx.AsyncClient` but got )r!  r"  r  r  r  r  r  r=  )r5   r  r>  rD   r   r   AsyncClientr   r  r%  rv   r   r$   r
  r   )
ru   r!  r"  r  r  r  r8  r  r  r   s
   &$$$$$$$$rn   rv   AsyncAPIClient.__init__  s        {226KK%--)":k5CTCT+U+Ufgklwgxfyz  	'*#%)(C 	 		
 # 
 
&='*'
rq   c                   V ^8  d   QhRR/# r   rl   )rm   s   "rn   ro   r    rB  rq   c                	.    V P                   P                  # rs   rD  r   s   &rn   r9  AsyncAPIClient.is_closed  rF  rq   c                   V ^8  d   QhRR/# r0  rl   )rm   s   "rn   ro   r    s     $ $T $rq   c                V   "   V P                   P                  4       G Rj  xL
  R#  L5i)rI  N)r   r  r   s   &rn   r3  AsyncAPIClient.close  s     
 ll!!###s   )')c                    V ^8  d   QhRRRR/# rM  rl   )rm   s   "rn   ro   r    s      r b rq   c                	   "   V # 5irs   rl   r   s   &rn   
__aenter__AsyncAPIClient.__aenter__  s
        c               (    V ^8  d   QhRRRRRRRR/# rR  rl   )rm   s   "rn   ro   r    s2      , " %	
 
rq   c                	B   "   V P                  4       G R j  xL
  R #  L5irs   rW  rX  s   &&&&rn   	__aexit__AsyncAPIClient.__aexit__  s      jjls   c                    V ^8  d   QhRRRR/# r\  rl   )rm   s   "rn   ro   r  
  r]  rq   c                   "   V# 5ir_  rl   r`  s   &&rn   ra  AsyncAPIClient._prepare_options
  s     
 r#  c                    V ^8  d   QhRRRR/# rd  rl   )rm   s   "rn   ro   r    re  rq   c                   "   R# 5irg  rl   r  s   &&rn   rh  AsyncAPIClient._prepare_request  s
      r#  c               (    V ^8  d   QhRRRRRRRR/# rk  rl   )rm   s   "rn   ro   r    s8     I II 	I
 (I 
Irq   c               	\   "   V P                   P                  ! V3R V/VB G Rj  xL
 #  L5i)r  Nrm  ro  s   &&$,rn   rp  AsyncAPIClient._send_request  s,      \\&&wHvHHHHHs   #,*,r  Fc               (    V ^8  d   QhRRRRRRRR/# rz  rl   )rm   s   "rn   ro   r  &  r|  rq   c               	   "   R # 5irs   rl   r~  s   &&&$rn   r   AsyncAPIClient.request%  s
      r#  c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# )ri   r  rs  r   r=   r  rt  ru  type[_AsyncStreamT]rj   r^   rl   )rm   s   "rn   ro   r  /  s<        %
  ( 
rq   c               	   "   R # 5irs   rl   rw  s   &&&$$rn   r   r3  .  s
      r#  ru  c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# ri   r  rs  r   r=   r  r   ru  type[_AsyncStreamT] | Nonerj   ResponseT | _AsyncStreamTrl   )rm   s   "rn   ro   r  9  s<     ( ( ( %(
 ( /( 
#(rq   c               	   "   R # 5irs   rl   rw  s   &&&$$rn   r   r3  8  s
      %(r#  c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# r8  rl   )rm   s   "rn   ro   r  B  sC     ~
 ~
 ~
 %~

 ~
 /~
 
#~
rq   c          	     	@	  "   V P                   f"   \        \        4      ! 4       G R j  xL
 V n         V P                  W4      p\	        V4      pVP
                  f5   VP                  P                  4       R8w  d   V P                  4       Vn        R pVP                  V P                  4      p^ p\        V^,           4       EF  p\	        V4      pV P                  V4      G R j  xL
 pWx,
          p	V P                  W(R7      p
V P                  V
4      G R j  xL
  / pV P                  e   V P                  VR&   VP                   e   VP                   VR&   \"        P%                  RV
P                  V
P&                  4       R p V P(                  ! V
3RT;'       g    V P+                  V
R7      /VB G R j  xL
 p\"        P%                  RT
P                  T
P&                  TP:                  TP<                  TP>                  4       \"        P%                  RTP>                  PA                  R4      4        TPC                  4         M	  Vf   Q R4       hV PS                  VVVVVVR7      G R j  xL
 #  ELO EL ELf L  \,        P.                   dk   p\"        P%                  RR	R
7       T	^ 8  d&   T P1                  TTTR R7      G R j  xL 
   R p?EK  \"        P%                  R4       \3        T
R7      ThR p?i\4         d   pThR p?i\6         dk   p\"        P%                  RR	R
7       T	^ 8  d&   T P1                  TTTR R7      G R j  xL 
   R p?EK  \"        P%                  R4       \9        T
R7      ThR p?ii ; i  \,        PD                   d   p\"        P%                  RR	R
7       T	^ 8  dj   T PG                  TPH                  4      '       dI   TPH                  PK                  4       G R j  xL 
  T P1                  TTTTR7      G R j  xL 
   R p?EKb  TPH                  PL                  '       g$   TPH                  PO                  4       G R j  xL 
  \"        P%                  R4       T PQ                  TPH                  4      R hR p?ii ; i EL)5ir  )*r+  r4   get_platformr  r9   rd  r  re  r  r  r  r  ra  r  rh  r  r"  rV   r  rc   rp  r  r   r  r  rQ   rO   r?  rR   r;  r  r`  r  r  r  r  r5  r  r9  areadrC  r  )ru   r  r   r  ru  r  r5  r  r]  r  r   r  r  s   &&&$$        rn   r   r3  B  s3     >>! $,L#9#;;DN..w@
 #7+((0]5I5I5O5O5QUZ5Z,0,A,A,CM)*.#33D4D4DE";?3M /G 11'::G + ;))')OG''000$&F+!%!1!1v''3-4-E-E)*II3W^^W[[QH$C!%!3!3"!WWT%F%Fw%F%W" " J II1$$&&   II&(8(8(<(<^(LMT))+, s 4v #W%WW#++!' , 
 
 	
Y <$ ; 1
 )) @		>	N$q(//&3$/ -!%	 0    		12%g6C? 	 C		1D	A$q(//&3$/ -!%	 0    		45(9sBC6 (( T		=	M$q(T-?-?-M-M,,--/////&3$/ -!)	 0     ||---,,,,...		34;;CLLItS'T0
s2  &RI7B;R$I:%2RI=A-RJJ8J 9J=A;R9N	)R2R3R:R=R JN6K<KK<R"K<<N	N
LNN6M?MM?R"M??NRR>RR8O;9RPRR#R?RQ6RRRc          
     ,    V ^8  d   QhRRRRRRRRRR	/# r  rl   )rm   s   "rn   ro   r    s4     # # ##25#@S#_t#	#rq   c               	R  "   W!,
          pV^8X  d   \         P                  R4       M\         P                  RV4       T P                  YSV'       d   VP                  MR4      p\         P	                  RVP
                  V4       \        P                  ! V4      G Rj  xL
  R#  L5ir  )rV   r  r  r`  r   rc   anyior  r  s   &$$$$  rn   r  AsyncAPIClient._sleep_for_retry  sz      (7!IIn%II'):;//0A`hHL\L\nrs7gNkk'"""s   BB'B%B'r]  c               4    V ^8  d   QhRRRRRRRRR	R
RRRR/# r  rl   )rm   s   "rn   ro   r    s\     B* B* !B* %	B*
 !B* B* FB* B* 
B*rq   c               	  "   VP                   P                  P                  \        4      R 8X  d!   \	        \
        \        VV VVVVVR7      4      # \        V4      ;'       g    Tp\        P                  ! V4      '       d   \        V\        4      '       d   V'       d9   \        VP                   P                  P                  \        4      4      '       dZ   \        V\        4      '       g   \        R\         RV 24      h\	        RV4      p\	        RV! VV \        V4      VVVVR7      4      # V\         P"                  8X  d   \	        \
        V4      # \        VV \	        RV4      VVVVR7      p	\        VP                   P                  P                  \        4      4      '       d   \	        \
        V	4      # V	P%                  4       G Rj  xL
 #  L5i)r  r  r  r  r  r&   r  N)r   r`  r  rH   r   r&   rU   r   r  r  r  rA   r   rB   r   rC   r   r  r  r  s
   &$$$$$$   rn   r   AsyncAPIClient._process_response  s     ##''(;<F! #!)#"/  G$// OOF##6?33 tH$4$4$<$<$@$@AT$UVVf&677"CDTCUU`ag`h ijj <gFL 1,?!)#"/  enn$	8,,'*G4!'
   ((,,-@ABB	<00!''))))s%   A G#GG D-GGGc               (    V ^8  d   QhRRRRRRRR/# )	ri   r   r   r   r   r   r=   rj   AsyncPaginator[_T, AsyncPageT]rl   )rm   s   "rn   ro   r    s8     X XX X %	X
 
(Xrq   c                	    \        WW!R 7      # ))r   r   r   r   )r   )ru   r   r   r   s   &&&&rn   r    AsyncAPIClient._request_api_list  s     TTWWrq   r   c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# r  rl   )rm   s   "rn   ro   r    r  rq   c               	   "   R # 5irs   rl   r  s   &&$$$rn   r  AsyncAPIClient.get  s
      r#  c               0    V ^8  d   QhRRRRRRRRR	R
RR/# )ri   r  r   r  rs  r   r,   r  rt  ru  r5  rj   r^   rl   )rm   s   "rn   ro   r  '  sF       !	
    ( 
rq   c               	   "   R # 5irs   rl   r  s   &&$$$$rn   r  rM  &  s
      r#  c               0    V ^8  d   QhRRRRRRRRR	R
RR/# ri   r  r   r  rs  r   r,   r  r   ru  r9  rj   r:  rl   )rm   s   "rn   ro   r  2  sF     ( (( !	(
  ( ( /( 
#(rq   c               	   "   R # 5irs   rl   r  s   &&$$$$rn   r  rM  1  s
      %(r#  c               0    V ^8  d   QhRRRRRRRRR	R
RR/# rQ  rl   )rm   s   "rn   ro   r  <  sN     
W 
W
W !	
W
  
W 
W /
W 
#
Wrq   c               	x   "   \         P                  ! RR RRV/VB pV P                  W&WER7      G Rj  xL
 #  L5i)r  r  rc   r  Nrl   )r=   r  r   r  s   &&$$$$ rn   r  rM  <  s=      #,,OEOtOwO\\'\VVVVs   1:8:r8  r|  r  c               8    V ^8  d   QhRRRRRRRRR	R
RRRRRR/# )ri   r  r   r  rs  r8  r  r|  AsyncBinaryTypes | Noner  r  r   r,   r  r{  rj   r&   rl   )rm   s   "rn   ro   r  I  sZ     
 

 !	

 
 )
 #
  
 
 

rq   c               	   "   R # 5irs   rl   )ru   r  r  r8  r|  r  r   r  s   &&$$$$$$rn   r  AsyncAPIClient.postH  s
      r#  c               <    V ^8  d   QhRRRRRRRRR	R
RRRRRRRR/	# )ri   r  r   r  rs  r8  r  r|  rV  r  r  r   r,   r  rt  ru  r5  rj   r^   rl   )rm   s   "rn   ro   r  V  sd       !	
  ) #    ( 
rq   c               	   "   R # 5irs   rl   	ru   r  r  r8  r|  r  r   r  ru  s	   &&$$$$$$$rn   r  rX  U  s
      r#  c               <    V ^8  d   QhRRRRRRRRR	R
RRRRRRRR/	# ri   r  r   r  rs  r8  r  r|  rV  r  r  r   r,   r  r   ru  r9  rj   r:  rl   )rm   s   "rn   ro   r  d  sd     ( (( !	(
 ( )( #(  ( ( /( 
#(rq   c               	   "   R # 5irs   rl   r[  s	   &&$$$$$$$rn   r  rX  c  s
      %(r#  c               <    V ^8  d   QhRRRRRRRRR	R
RRRRRRRR/	# r]  rl   )rm   s   "rn   ro   r  q  so     W WW !	W
 W )W #W  W W /W 
#Wrq   c               	\  "   Ve   Ve   \        R4      hVe   Ve   \        R4      h\        V\        4      '       d   \        P                  ! R\
        ^R7       \        P                  ! RRRRTRTR	TR
\        V4      G R j  xL
 /VB p	V P                  W)WxR7      G R j  xL
 #  L# L5ir  
r   r   r  r  r  r  r=   r  r   r   )
ru   r  r  r8  r|  r  r   r  ru  r  s
   &&$$$$$$$ rn   r  rX  q  s       3PQQ!4QRRdE""MMM"	 #,, 

#
/3
=D
RfglRmLm
qx
 \\'\VVV MnVs$   BB,B(B,#B*$B,*B,c               4    V ^8  d   QhRRRRRRRRR	R
RRRR/# ri   r  r   r  rs  r8  r  r|  rV  r  r  r   r,   rj   r&   rl   )rm   s   "rn   ro   r    sP     1 11 !	1
 1 )1 #1  1 
1rq   c               	X  "   Ve   Ve   \        R4      hVe   Ve   \        R4      h\        V\        4      '       d   \        P                  ! R\
        ^R7       \        P                  ! RRRRTRTR	TR
\        V4      G R j  xL
 /VB pV P                  W'4      G R j  xL
 #  L! L5ir  ra  r  s   &&$$$$$ rn   r  AsyncAPIClient.patch  s       3PQQ!4QRRdE""MMM"	 #,, 


 
 	

 -U33
 
 \\'000 4 1$   BB*B&B*!B("B*(B*c               4    V ^8  d   QhRRRRRRRRR	R
RRRR/# rc  rl   )rm   s   "rn   ro   r    sP     1 11 !	1
 1 )1 #1  1 
1rq   c               	X  "   Ve   Ve   \        R4      hVe   Ve   \        R4      h\        V\        4      '       d   \        P                  ! R\
        ^R7       \        P                  ! RRRRTRTR	TR
\        V4      G R j  xL
 /VB pV P                  W'4      G R j  xL
 #  L! L5ir  ra  r  s   &&$$$$$ rn   r  AsyncAPIClient.put  s       3PQQ!4QRRdE""MMM"	 #,, 

"
.2
<C
QefkQlKl
pw
 \\'000 Lm0rf  c               0    V ^8  d   QhRRRRRRRRR	R
RR/# )ri   r  r   r  rs  r8  r  r|  rV  r   r,   rj   r&   rl   )rm   s   "rn   ro   r    sF     1 11 !	1
 1 )1  1 
1rq   c               	  "   Ve   Ve   \        R4      h\        V\        4      '       d   \        P                  ! R\
        ^R7       \        P                  ! R	RRRVRVRV/VB pV P                  W&4      G R j  xL
 #  L5ir  r  r  s   &&$$$$ rn   r  AsyncAPIClient.delete  s       3PQQdE""MMM"	 #,,sHs$sRVs`gskrs\\'0000s   A9B;B <Br  r  c               4    V ^8  d   QhRRRRRRRRR	R
RRRR/# )ri   r  r   r   r   r   r   r8  r  r   r,   r  rj   rH  rl   )rm   s   "rn   ro   r    sP     9 99 	9
 9 9  9 9 
(9rq   c          	     	^    \         P                  ! RR VRVRV/VB pV P                  W#V4      # r  r  r  s   &&$$$$$ rn   r  AsyncAPIClient.get_api_list  r  rq   )r   r+  )r   r   r   r   r   r  rF   r0   rv   r9  r3  r!  r&  ra  rh  rp  r   r   r  r  r   r  r  r  r  r  r  r   r*  r+  s   @rn   r   r     sJ   9=6=,
 /,
 6?,
 15,
 48,
 59,
 ,
\&$	I 
 "'    ( 26( (~

 ~
 26~
@#B* B*HX 
 #% "'  
 #%  (
 #%( 26( (
W
 #%
W 
W 26
W 

 !
 ,0
 &*
 #%
 "'
 
 
 ! ,0 &* #%  (
 !( ,0( &*( #%( 26( (W
 !W ,0W &*W #%W W 26W81
 !1 ,01 &*1 #%1>1
 !1 ,01 &*1 #%141
 !1 ,01 #%1*9 !9 #%9 9 9rq   r   r  extra_headersextra_query
extra_bodyrd  r  r   rL  synthesize_event_and_datac               @    V ^8  d   QhRRRRRRRRRR	R
RRRRRRRRR/
# )ri   r  zQuery | Nonerp  zHeaders | Nonerq  rr  r  rd  r  r  z'float | httpx.Timeout | None | NotGivenr   zPostParser | NotGivenrL  zSecurityOptions | Noners  zbool | Nonerj   r,   rl   )rm   s   "rn   ro   ro     sn     * ** "* 	*
 *  * 5* '* %*  +* *rq   c        	            / p	Ve   WR&   Ve   \        \        V4      V	R&   V e   W	R&   Ve   / V	P                  R/ 4      CVCV	R&   \        V\        4      '       g   WYR&   Ve   WIR&   \        V4      '       d   WiR&   Ve   WyR&   Ve   WR&   V	# )	zECreate a dict of type RequestOptions without keys of NotGiven values.r`  r  re   r  rd  r   rL  rs  )r   r'   r  r   r%   r5   )
r  rp  rq  rr  rd  r  r   rL  rs  r   s
   $$$$$$$$$ rn   make_request_optionsrv    s     !G *	 $Z <!Hw{{8R8HKHgx(($	"%4!"!,&
 ,/H+,Nrq   c                  "    ] tR tRtR R ltRtR# )r  i  c                   V ^8  d   QhRR/# r   rl   )rm   s   "rn   ro   ForceMultipartDict.__annotate__  s      $ rq   c                	    R # )Trl   r   s   &rn   __bool__ForceMultipartDict.__bool__  s    rq   rl   N)r   r   r   r   r{  r   rl   rq   rn   r  r    s     rq   r  c                  8    ] tR tRtR R lt]R R l4       tRtR# )OtherPlatformi  c                    V ^8  d   QhRRRR/# ri   namer   rj   rk   rl   )rm   s   "rn   ro   OtherPlatform.__annotate__        S T rq   c                	    Wn         R # rs   r  ru   r  s   &&rn   rv   OtherPlatform.__init__      	rq   c                   V ^8  d   QhRR/# r   rl   )rm   s   "rn   ro   r          $ $ $rq   c                	     R V P                    2# )zOther:r  r   s   &rn   __str__OtherPlatform.__str__      		{##rq   r  Nr   r   r   r   rv   r   r  r   rl   rq   rn   r~  r~         $ $rq   r~  c                   V ^8  d   QhRR/# )ri   rj   Platformrl   )rm   s   "rn   ro   ro   3  s     ' 'h 'rq   c                     \         P                  ! 4       P                  4       p \         P                   ! 4       P                  4       pRT9   g   RT9   d   R# T R8X  d   R# T R8X  d   R# RT9   d   R	# T R
8X  d*   \        P
                  ! 4       pTR8X  d   R# TR8X  d   R# R# T'       d   \        T4      # R #   \         d     R # i ; i)UnknowniphoneipadiOSdarwinMacOSwindowsWindowsandroidAndroidlinuxfreebsdFreeBSDopenbsdOpenBSDLinux)r  systemre  r?  distroidr~  )r  platform_name	distro_ids      rn   r>  r>  3  s    "((* ))+113 = Fm$;
 M! IIK		!	!]++G  s   AB8 8CC)maxsizec               $    V ^8  d   QhRRRRRR/# )ri   r!  r   r  zPlatform | Nonerj   r  rl   )rm   s   "rn   ro   ro   ^  s!      c  N rq   c                   R RRT R\        T;'       g    \        4       4      R\        \        4       4      R\        4       R\	        4       /# )zX-Stainless-LangpythonzX-Stainless-Package-VersionzX-Stainless-OSzX-Stainless-ArchzX-Stainless-RuntimezX-Stainless-Runtime-Version)r   r>  get_architectureget_python_runtimeget_python_version)r!  r  s   &$rn   r  r  ]  sL     	H%w#h88,.9C 0 2313%'9'; rq   c                  8    ] tR tRtR R lt]R R l4       tRtR# )	OtherArchii  c                    V ^8  d   QhRRRR/# r  rl   )rm   s   "rn   ro   OtherArch.__annotate__j  r  rq   c                	    Wn         R # rs   r  r  s   &&rn   rv   OtherArch.__init__j  r  rq   c                   V ^8  d   QhRR/# r   rl   )rm   s   "rn   ro   r  n  r  rq   c                	     R V P                    2# )zother:r  r   s   &rn   r  OtherArch.__str__m  r  rq   r  Nr  rl   rq   rn   r  r  i  r  rq   r  c                   V ^8  d   QhRR/# r   rl   )rm   s   "rn   ro   ro   u        C rq   c                 R     \         P                  ! 4       #   \         d     R # i ; iunknown)r  python_implementationr?  rl   rq   rn   r  r  u  s(    --//     &&c                   V ^8  d   QhRR/# r   rl   )rm   s   "rn   ro   ro   |  r  rq   c                 R     \         P                  ! 4       #   \         d     R # i ; ir  )r  python_versionr?  rl   rq   rn   r  r  |  s(    &&(( r  c                   V ^8  d   QhRR/# )ri   rj   Archrl   )rm   s   "rn   ro   ro     s      $ rq   c                      \         P                  ! 4       P                  4       p T R9   d   R# T R8X  d   R# T R8X  d   R# \        P
                  R8:  d   R# T '       d   \        T 4      # R #   \         d     R # i ; i)r  arm64armx86_64x64x32)r  aarch64l        )r  machinere  r?  sysr  r  )r  s    rn   r  r    sz    ""$**, && %( {{e!!)  s   #A, ,A;:A;c               $    V ^8  d   QhRRRRRR/# )ri   obj1zMapping[_T_co, Union[_T, Omit]]obj2rj   zDict[_T_co, _T]rl   )rm   s   "rn   ro   ro     s+     	X 	X
)	X
)	X 	Xrq   c                    / V CVCpVP                  4        UUu/ uF  w  r4\        V\        4      '       d   K  W4bK!  	  upp# u uppi )zMerge two mappings of the same type, removing any values that are instances of `Omit`.

In cases with duplicate keys the second mapping takes precedence.
)r   r   r!   )r  r  mergedr  r  s   &&   rn   ra  ra    sA     F)/W:3z%QU?VJCJWWWs
   AA)r  r  r  r  r  r  r  r  )r  r  r  r  r  )__conditional_annotations__
__future__r   r  rg   r  r  r  r  r  r  r  r  email.utilstypesr   r   typingr   r   r   r	   r
   r   r   r   r   r   r   r   r   r   r   typing_extensionsr   r   r   r   rB  r   r  r   r   r    r   _qsr   _filesr   r   _typesr    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   _utilsr1   r2   r3   r4   r5   r6   r7   _compatr8   r9   r:   _modelsr;   r<   r=   r>   r?   	_responser@   rA   rB   rC   
_constantsrD   rE   rF   rG   rH   rI   rJ   
_streamingrK   rL   rM   rN   rO   rP   rQ   rR   rS   _utils._jsonrT   _legacy_responserU   	getLoggerr   rV   r   	addFilterrW   rY   rZ   r[   r]   r^   httpx._configr_   r>  ImportErrorra   r   r   r   r  r?  r  r  r  r  r  DefaultHttpxClientr.  r   r  httpx_aiohttpHttpxAiohttpClientr   DefaultAsyncHttpxClientDefaultAioHttpClientr
  r   rv  r   r  r~  r  r>  r  r  r  r  r  r  ra  )r  s   @rn   <module>r     sK   " " 
                " D C          8    & h g g 8 8 f f    I H  ( /''1^ 1 $& ' K':;	\)=>
 T]4(:VC[1{3/?@ 3-Q0B 0Bf:6|WR[ :6z.a8B< .ab$WR^, $N&gHRL'"+ &gR uU\\5CTCT5T/UV+5kRUFV9V3WXQ878 Q8h#%,, #  -/ i9Ju||VC[89 i9X#u00 #'' @ @ ' #// !,,_60	5 	c9Z 1 1;s3C CD c9L** %)* !%	*
 #* #'* 8A* *3* (,* .2*Zc4i 
$ $ 		
'T 4 $ $ Y GHHI4	XSA  - '-F)  yy 1 1 yys$   <P ;P PPP=<P=