
    _j]                    R   S SK Jr  S SKrS SKJrJrJrJr  S SKJ	r	J
r
Jr  S SKrSSKJr  SSKJr  SSKJrJr  SS	KJrJrJrJrJrJrJrJrJrJrJrJ r   SS
K!J"r"J#r#J$r$J%r%J&r&  SSK'J(r(  SSK)J*r*  SSK+J,r,J-r-J.r.J/r/  SSK0J1r1J2r2  SSKJ3r3J4r4  SSK5J6r6J7r7J8r8J9r9  SSK:J;r;  SSK<J=r=  SSK>J?r?  SSK@JArA  \(       a,  SSKBJCrCJDrDJErEJFrF  SSKGJHrHJIrI  SSKJJKrKJLrL  SSKMJNrNJOrO  SSKPJQrQJRrR  / SQrS " S S\75      rT " S S\85      rU " S S 5      rV " S! S"5      rW " S# S$5      rX " S% S&5      rY\TrZ\Ur[g)'    )annotationsN)TYPE_CHECKINGAnyMappingOptional)SelfLiteraloverride   )_exceptionsQuerystring)client_search_paramsclient_extract_params)BodyOmitQueryHeadersTimeoutNotGiven	TransportProxiesTypesRequestOptionsSequenceNotStromit	not_given)is_givenis_mapping_tmaybe_transformget_async_libraryasync_maybe_transform)cached_property)__version__)to_raw_response_wrapperto_streamed_response_wrapperasync_to_raw_response_wrapper"async_to_streamed_response_wrapper)StreamAsyncStream)ParallelErrorAPIStatusError)DEFAULT_MAX_RETRIESSyncAPIClientAsyncAPIClientmake_request_options)SearchResult)ExtractResponse)AdvancedSearchSettingsParam)AdvancedExtractSettingsParam)betamonitortask_run
task_group)MonitorResourceAsyncMonitorResource)TaskRunResourceAsyncTaskRunResource)BetaResourceAsyncBetaResource)TaskGroupResourceAsyncTaskGroupResource)r   r   r   r   ParallelAsyncParallelClientAsyncClientc                  b  ^  \ rS rSr% S\S'   SS\\SSSSS.                 SU 4S jjjr\SS j5       r	\SS	 j5       r
\SS
 j5       r\SS j5       r\SS j5       r\SS j5       r\\S S j5       5       r\\S!S j5       5       r\\S"U 4S jj5       5       rSS\S\SSSS0 S.
                     S#S jjr\r\\\\\\SSS\S.
                       S$S jjr\\\\\\SSS\S.
                       S%S jjr\        S&S j5       rSrU =r$ )'r@   K   strapi_keyNFrG   base_urltimeoutmax_retriesdefault_headersdefault_queryhttp_client_strict_response_validationc                 > Uc  [         R                  R                  S5      nUc  [        S5      eXl        Uc  [         R                  R                  S5      nUc  Sn[         R                  R                  S5      n	U	bs  0 n
U	R                  S5       HD  nUR                  S5      nUS	:  d  M  XS
-   S R                  5       XSU R                  5       '   MF     0 U
E[        U5      (       a  UO0 En[        TU ])  [        UUUUUUUS9  g)zConstruct a new synchronous Parallel client instance.

This automatically infers the `api_key` argument from the `PARALLEL_API_KEY` environment variable if it is not provided.
NPARALLEL_API_KEYThe api_key client option must be set either by passing api_key to the client or by setting the PARALLEL_API_KEY environment variablePARALLEL_BASE_URLhttps://api.parallel.aiPARALLEL_CUSTOM_HEADERS
:r   r   versionrI   rK   rJ   rN   custom_headerscustom_queryrO   osenvirongetr*   rG   splitfindstripr   super__init__r#   selfrG   rI   rJ   rK   rL   rM   rN   rO   custom_headers_envparsedlinecolon	__class__s                E/home/rurouni/.local/lib/python3.13/site-packages/parallel/_client.pyrd   Parallel.__init__O      6 ?jjnn%78G? X  zz~~&9:H0HZZ^^,EF)%'F*006		#A:37	3D3J3J3LF<--/0 7 gf|O?\?\ObdfO##*&(C 	 		
    c                    SSK Jn  U" U 5      $ )  The Task API executes web research and extraction tasks.

Clients submit a natural-language objective with an optional input schema; the service plans retrieval, fetches relevant URLs, and returns outputs that conform to a provided or inferred JSON schema. Supports deep research style queries and can return rich structured JSON outputs. Processors trade-off between cost, latency, and quality. Each processor supports calibrated confidences.
- Output metadata: citations, excerpts, reasoning, and confidence per field

Task Groups enable batch execution of many independent Task runs with group-level monitoring and failure handling.
- Submit hundreds or thousands of Tasks as a single group
- Observe group progress and receive results as they complete
- Real-time updates via Server-Sent Events (SSE)
- Add tasks to an existing group while it is running
- Group-level retry and error aggregation
r   )r:   )resources.task_runr:   )rf   r:   s     rl   r6   Parallel.task_run   s     	8t$$ro   c                    SSK Jn  U" U 5      $ )rq   r   )r>   )resources.task_groupr>   )rf   r>   s     rl   r7   Parallel.task_group   s     	< &&ro   c                    SSK Jn  U" U 5      $ )  The Monitor API watches the web for material changes on a fixed frequency.

Each monitor runs once on creation and then on its configured schedule, emitting events when meaningful changes are detected.
- `event_stream` monitors track a search query and emit an event for each new material change.
- `snapshot` monitors track a specific task run's output and emit an event when the output changes.

Results can be polled via the events endpoint or delivered via webhooks.
r   )r8   )resources.monitorr8   )rf   r8   s     rl   r5   Parallel.monitor   s     	7t$$ro   c                    SSK Jn  U" U 5      $ )Nr   )r<   )resources.betar<   )rf   r<   s     rl   r4   Parallel.beta   s    0D!!ro   c                    [        U 5      $ N)ParallelWithRawResponserf   s    rl   with_raw_responseParallel.with_raw_response   s    &t,,ro   c                    [        U 5      $ r   )ParallelWithStreamedResponser   s    rl   with_streaming_response Parallel.with_streaming_response       +D11ro   c                    [        SS9$ Ncomma)array_formatr   r   s    rl   qsParallel.qs        00ro   c                "    U R                   nSU0$ Nz	x-api-keyrG   rf   rG   s     rl   auth_headersParallel.auth_headers        ,,W%%ro   c                <   > 0 [         TU ]  ESS0EU R                  E$ )NX-Stainless-Asyncfalse)rc   rL   _custom_headersrf   rk   s    rl   rL   Parallel.default_headers   s4    
g%

 ""
 	
ro   
rG   rI   rJ   rN   rK   rL   set_default_headersrM   set_default_query_extra_kwargsc       
           Ub  Ub  [        S5      eUb  U	b  [        S5      eU R                  nUb  0 UEUEnOUb  UnU R                  nUb  0 UEUEnOU	b  U	nU=(       d    U R                  nU R                  " SU=(       d    U R
                  U=(       d    U R                  [        U[        5      (       a  U R                  OUU[        U5      (       a  UOU R                  UUS.U
D6$ zn
Create a new client instance re-using the same options given to the current client with optional overriding.
zPThe `default_headers` and `set_default_headers` arguments are mutually exclusivezLThe `default_query` and `set_default_query` arguments are mutually exclusive)rG   rI   rJ   rN   rK   rL   rM    
ValueErrorr   _custom_query_clientrk   rG   rI   
isinstancer   rJ   r   rK   rf   rG   rI   rJ   rN   rK   rL   r   rM   r   r   headersparamss                rl   copyParallel.copy      " &+>+Jopp$):)Fkll&&&44O4G ,)G##$00-0F*&F!1T\\~~ 	
+t||.$.w$A$ADLLw#'/'<'<$BRBR# 	
 	
 		
ro   
advanced_settingsclient_modelmax_chars_total	objectivesearch_queries
session_idextra_headersextra_query
extra_bodyrJ   c               ~    U R                  S[        UUUUUUUS.[        R                  5      [	        XXS9[
        S9$ )  
Extracts relevant content from specific web URLs.

The legacy Extract API reference (`/v1beta/extract` endpoint) is available
[here](https://docs.parallel.ai/api-reference/legacy/extract-beta/extract), and
migration guide is
[here](https://docs.parallel.ai/extract/extract-migration-guide).

Args:
  urls: URLs to extract content from. Up to 20 URLs.

  advanced_settings: Advanced extract configuration.

      These settings may impact result quality and latency unless used carefully. See
      https://docs.parallel.ai/search/advanced-extract-settings for more info.

  client_model: The model generating this request and consuming the results. Enables
      optimizations and tailors default settings for the model's capabilities.

  max_chars_total: Upper bound on total characters across excerpts from all extracted results.

  objective: As in SearchRequest, a natural-language description of the underlying question
      or goal driving the request. Used together with search_queries to focus excerpts
      on the most relevant content.

  search_queries: Optional keyword search queries, as in SearchRequest. Used together with
      objective to focus excerpts on the most relevant content.

  session_id: Session identifier to track calls across separate search and extract calls, to
      be used as part of a larger task. Specifying it may give better contextual
      results for subsequent API calls.

  extra_headers: Send extra headers

  extra_query: Add additional query parameters to the request

  extra_body: Add additional JSON properties to the request

  timeout: Override the client-level default timeout for this request, in seconds
/v1/extracturlsr   r   r   r   r   r   r   r   r   rJ   bodyoptionscast_to)postr   r   ClientExtractParamsr/   r1   rf   r   r   r   r   r   r   r   r   r   r   rJ   s               rl   extractParallel.extract  s`    r yy  ):$0'6!*&4", &99 )+Q[ $#  
 	
ro   
r   r   r   moder   r   r   r   r   rJ   c               ~    U R                  S[        UUUUUUUS.[        R                  5      [	        XXS9[
        S9$ )  
Searches the web.

The legacy Search API reference (`/v1beta/search` endpoint) is available
[here](https://docs.parallel.ai/api-reference/legacy/search-beta/search), and
migration guide is
[here](https://docs.parallel.ai/search/search-migration-guide).

Args:
  search_queries: Concise keyword search queries, 3-6 words each. At least one query is required,
      provide 2-3 for best results. Used together with objective to focus results on
      the most relevant content.

  advanced_settings: Advanced search configuration.

      These settings may impact result quality and latency unless used carefully. See
      https://docs.parallel.ai/search/advanced-search-settings for more info.

  client_model: The model generating this request and consuming the results. Enables
      optimizations and tailors default settings for the model's capabilities.

  max_chars_total: Upper bound on total characters across excerpts from all results.

  mode: Search mode preset: supported values are `basic` and `advanced`. Basic mode
      offers the lowest latency and works best with 2-3 high-quality search_queries.
      Advanced mode provides higher quality with more advanced retrieval and
      compression. Defaults to `advanced` when omitted.

  objective: Natural-language description of the underlying question or goal driving the
      search. Used together with search_queries to focus results on the most relevant
      content. Should be self-contained with enough context to understand the intent
      of the search.

  session_id: Session identifier to track calls across separate search and extract calls, to
      be used as part of a larger task. Specifying it may give better contextual
      results for subsequent API calls.

  extra_headers: Send extra headers

  extra_query: Add additional query parameters to the request

  extra_body: Add additional JSON properties to the request

  timeout: Override the client-level default timeout for this request, in seconds

/v1/searchr   r   r   r   r   r   r   r   r   )r   r   r   ClientSearchParamsr/   r0   rf   r   r   r   r   r   r   r   r   r   r   rJ   s               rl   searchParallel.search_  s`    | yy &4):$0'6 !*", %77 )+Q[ !#  
 	
ro   c               f   UR                   S:X  a  [        R                  " XUS9$ UR                   S:X  a  [        R                  " XUS9$ UR                   S:X  a  [        R                  " XUS9$ UR                   S:X  a  [        R
                  " XUS9$ UR                   S:X  a  [        R                  " XUS9$ UR                   S:X  a  [        R                  " XUS9$ UR                   S:X  a  [        R                  " XUS9$ UR                   S	:  a  [        R                  " XUS9$ [        XUS9$ 
Ni  )responser   i  i  i  i  i  i  i  status_coder   BadRequestErrorAuthenticationErrorPermissionDeniedErrorNotFoundErrorConflictErrorUnprocessableEntityErrorRateLimitErrorInternalServerErrorr+   rf   err_msgr   r   s       rl   _make_status_errorParallel._make_status_error      3&..wPTUU3&227TXYY3&44WVZ[[3&,,WdSS3&,,WdSS3&77Y]^^3&--gtTT3&227TXYYgtDDro   r   )rG   
str | NonerI   str | httpx.URL | NonerJ   !float | Timeout | None | NotGivenrK   intrL   Mapping[str, str] | NonerM   Mapping[str, object] | NonerN   httpx.Client | NonerO   boolreturnNone)r   r:   )r   r>   )r   r8   )r   r<   )r   r   )r   r   r   r   r   zdict[str, str]r   zdict[str, str | Omit])rG   r   rI   r   rJ   r   rN   r   rK   int | NotGivenrL   r   r   r   rM   r   r   r   r   Mapping[str, Any]r   r   r   SequenceNotStr[str]r   z-Optional[AdvancedExtractSettingsParam] | Omitr   Optional[str] | Omitr   Optional[int] | Omitr   r   r   z$Optional[SequenceNotStr[str]] | Omitr   r   r   Headers | Noner   Query | Noner   Body | NonerJ   'float | httpx.Timeout | None | NotGivenr   r1   r   r   r   z,Optional[AdvancedSearchSettingsParam] | Omitr   r   r   r   r   z-Optional[Literal['basic', 'advanced']] | Omitr   r   r   r   r   r   r   r   r   r   rJ   r   r   r0   r   rF   r   objectr   zhttpx.Responser   r+   __name__
__module____qualname____firstlineno____annotations__r   r,   rd   r"   r6   r7   r5   r4   r   r   propertyr
   r   r   rL   r   with_optionsr   r   r   r   __static_attributes____classcell__rk   s   @rl   r@   r@   K   s   L
 #+/5>.4859 ,0 -2+:
 :
 )	:

 3:
 :
 2:
 3:
 ):
* &*+:
, 
-:
 :
x % %" ' '" % % " "
 - - 2 2 1  1 &  & 
  
 #+/5>+/&/488<599=+--
 -
 )	-

 3-
 )-
 $-
 2-
 6-
 3-
 7-
 )-
 
-
b L LP-104*.?C+/ )-$("&;DK
 "K
 I	K

 +K
 .K
 (K
 =K
 )K
 &K
 "K
  K
 9K
  
!K
b KO-104>B*.+/ )-$("&;DP
 ,P
 H	P

 +P
 .P
 <P
 (P
 )P
 &P
 "P
  P
 9P
  
!P
d EE 	E
 !E 
E Ero   r@   c                  b  ^  \ rS rSr% S\S'   SS\\SSSSS.                 SU 4S jjjr\SS j5       r	\SS	 j5       r
\SS
 j5       r\SS j5       r\SS j5       r\SS j5       r\\S S j5       5       r\\S!S j5       5       r\\S"U 4S jj5       5       rSS\S\SSSS0 S.
                     S#S jjr\r\\\\\\SSS\S.
                       S$S jjr\\\\\\SSS\S.
                       S%S jjr\        S&S j5       rSrU =r$ )'rA   i  rF   rG   NFrH   c                 > Uc  [         R                  R                  S5      nUc  [        S5      eXl        Uc  [         R                  R                  S5      nUc  Sn[         R                  R                  S5      n	U	bs  0 n
U	R                  S5       HD  nUR                  S5      nUS	:  d  M  XS
-   S R                  5       XSU R                  5       '   MF     0 U
E[        U5      (       a  UO0 En[        TU ])  [        UUUUUUUS9  g)zConstruct a new async AsyncParallel client instance.

This automatically infers the `api_key` argument from the `PARALLEL_API_KEY` environment variable if it is not provided.
NrQ   rR   rS   rT   rU   rV   rW   r   r   rX   r\   re   s                rl   rd   AsyncParallel.__init__  rn   ro   c                    SSK Jn  U" U 5      $ )rq   r   )r;   )rr   r;   )rf   r;   s     rl   r6   AsyncParallel.task_run  s     	=#D))ro   c                    SSK Jn  U" U 5      $ )rq   r   )r?   )ru   r?   )rf   r?   s     rl   r7   AsyncParallel.task_group%  s     	A%d++ro   c                    SSK Jn  U" U 5      $ )rx   r   )r9   )ry   r9   )rf   r9   s     rl   r5   AsyncParallel.monitor7  s     	<#D))ro   c                    SSK Jn  U" U 5      $ )Nr   )r=   )r|   r=   )rf   r=   s     rl   r4   AsyncParallel.betaE  s    5 &&ro   c                    [        U 5      $ r   )AsyncParallelWithRawResponser   s    rl   r   AsyncParallel.with_raw_responseK  r   ro   c                    [        U 5      $ r   )!AsyncParallelWithStreamedResponser   s    rl   r   %AsyncParallel.with_streaming_responseO  s    066ro   c                    [        SS9$ r   r   r   s    rl   r   AsyncParallel.qsS  r   ro   c                "    U R                   nSU0$ r   r   r   s     rl   r   AsyncParallel.auth_headersX  r   ro   c                R   > 0 [         TU ]  ESS[        5        30EU R                  E$ )Nr   zasync:)rc   rL   r    r   r   s    rl   rL   AsyncParallel.default_headers^  s@    
g%
6*;*=)>!?
 ""
 	
ro   r   c       
           Ub  Ub  [        S5      eUb  U	b  [        S5      eU R                  nUb  0 UEUEnOUb  UnU R                  nUb  0 UEUEnOU	b  U	nU=(       d    U R                  nU R                  " SU=(       d    U R
                  U=(       d    U R                  [        U[        5      (       a  U R                  OUU[        U5      (       a  UOU R                  UUS.U
D6$ r   r   r   s                rl   r   AsyncParallel.copyg  r   ro   r   c                  #    U R                  S[        UUUUUUUS.[        R                  5      I Sh  vN [	        XXS9[
        S9I Sh  vN $  N N7f)r   r   r   Nr   r   )r   r!   r   r   r/   r1   r   s               rl   r   AsyncParallel.extract  sw     r YY, ):$0'6!*&4", &99  )+Q[ $#  
 
 	

!   2AA
AAAAr   c                  #    U R                  S[        UUUUUUUS.[        R                  5      I Sh  vN [	        XXS9[
        S9I Sh  vN $  N N7f)r   r   r   Nr   r   )r   r!   r   r   r/   r0   r   s               rl   r   AsyncParallel.search  sw     | YY,&4):$0'6 !*", %77  )+Q[ !#  
 
 	

r$  c               f   UR                   S:X  a  [        R                  " XUS9$ UR                   S:X  a  [        R                  " XUS9$ UR                   S:X  a  [        R                  " XUS9$ UR                   S:X  a  [        R
                  " XUS9$ UR                   S:X  a  [        R                  " XUS9$ UR                   S:X  a  [        R                  " XUS9$ UR                   S:X  a  [        R                  " XUS9$ UR                   S	:  a  [        R                  " XUS9$ [        XUS9$ r   r   r   s       rl   r    AsyncParallel._make_status_error9  r   ro   r   )rG   r   rI   r   rJ   r   rK   r   rL   r   rM   r   rN   httpx.AsyncClient | NonerO   r   r   r   )r   r;   )r   r?   )r   r9   )r   r=   )r   r  )r   r  r   r   r   )rG   r   rI   r   rJ   r   rN   r)  rK   r   rL   r   r   r   rM   r   r   r   r   r   r   r   r   r   r   r   r  s   @rl   rA   rA     s   L
 #+/5>.4859 15 -2+:
 :
 )	:

 3:
 :
 2:
 3:
 .:
* &*+:
, 
-:
 :
x * *" , ," * * ' '
 2 2 7 7 1  1 &  & 
  
 #+/5>04&/488<599=+--
 -
 )	-

 3-
 .-
 $-
 2-
 6-
 3-
 7-
 )-
 
-
b L LP-104*.?C+/ )-$("&;DK
 "K
 I	K

 +K
 .K
 (K
 =K
 )K
 &K
 "K
  K
 9K
  
!K
b KO-104>B*.+/ )-$("&;DP
 ,P
 H	P

 +P
 .P
 <P
 (P
 )P
 &P
 "P
  P
 9P
  
!P
d EE 	E
 !E 
E Ero   rA   c                  z    \ rS rSr% S\S'   SS jr\SS j5       r\SS j5       r\SS j5       r	\SS j5       r
S	rg
)r   i[  r@   r   c                x    Xl         [        UR                  5      U l        [        UR                  5      U l        g r   )r   r$   r   r   rf   clients     rl   rd    ParallelWithRawResponse.__init__^  s/    .NN
 .MM
ro   c                F    SSK Jn  U" U R                  R                  5      $ )rq   r   )TaskRunResourceWithRawResponse)rr   r0  r   r6   )rf   r0  s     rl   r6    ParallelWithRawResponse.task_runh  s     	G-dll.C.CDDro   c                F    SSK Jn  U" U R                  R                  5      $ )rq   r   ) TaskGroupResourceWithRawResponse)ru   r3  r   r7   )rf   r3  s     rl   r7   "ParallelWithRawResponse.task_groupz  s     	K/0G0GHHro   c                F    SSK Jn  U" U R                  R                  5      $ )rx   r   )MonitorResourceWithRawResponse)ry   r6  r   r5   )rf   r6  s     rl   r5   ParallelWithRawResponse.monitor  s     	F-dll.B.BCCro   c                F    SSK Jn  U" U R                  R                  5      $ )Nr   )BetaResourceWithRawResponse)r|   r9  r   r4   )rf   r9  s     rl   r4   ParallelWithRawResponse.beta  s    ?*4<<+<+<==ro   r   r   r   Nr-  r@   r   r   )r   z'task_run.TaskRunResourceWithRawResponse)r   z+task_group.TaskGroupResourceWithRawResponse)r   z&monitor.MonitorResourceWithRawResponse)r   z beta.BetaResourceWithRawResponser   r   r  r  r  rd   r"   r6   r7   r5   r4   r  r   ro   rl   r   r   [  sc    
 E E" I I" D D > >ro   r   c                  z    \ rS rSr% S\S'   SS jr\SS j5       r\SS j5       r\SS j5       r	\SS j5       r
S	rg
)r  i  rA   r   c                x    Xl         [        UR                  5      U l        [        UR                  5      U l        g r   )r   r&   r   r   r,  s     rl   rd   %AsyncParallelWithRawResponse.__init__  s/    4NN
 4MM
ro   c                F    SSK Jn  U" U R                  R                  5      $ )rq   r   )#AsyncTaskRunResourceWithRawResponse)rr   rB  r   r6   )rf   rB  s     rl   r6   %AsyncParallelWithRawResponse.task_run  s     	L24<<3H3HIIro   c                F    SSK Jn  U" U R                  R                  5      $ )rq   r   )%AsyncTaskGroupResourceWithRawResponse)ru   rE  r   r7   )rf   rE  s     rl   r7   'AsyncParallelWithRawResponse.task_group  s     	P4T\\5L5LMMro   c                F    SSK Jn  U" U R                  R                  5      $ )rx   r   )#AsyncMonitorResourceWithRawResponse)ry   rH  r   r5   )rf   rH  s     rl   r5   $AsyncParallelWithRawResponse.monitor  s     	K24<<3G3GHHro   c                F    SSK Jn  U" U R                  R                  5      $ )Nr   ) AsyncBetaResourceWithRawResponse)r|   rK  r   r4   )rf   rK  s     rl   r4   !AsyncParallelWithRawResponse.beta  s    D/0A0ABBro   r;  Nr-  rA   r   r   )r   z,task_run.AsyncTaskRunResourceWithRawResponse)r   z0task_group.AsyncTaskGroupResourceWithRawResponse)r   z+monitor.AsyncMonitorResourceWithRawResponse)r   z%beta.AsyncBetaResourceWithRawResponser=  r   ro   rl   r  r    se    
 J J" N N" I I C Cro   r  c                  z    \ rS rSr% S\S'   SS jr\SS j5       r\SS j5       r\SS j5       r	\SS j5       r
S	rg
)r   i  r@   r   c                x    Xl         [        UR                  5      U l        [        UR                  5      U l        g r   )r   r%   r   r   r,  s     rl   rd   %ParallelWithStreamedResponse.__init__  s/    3NN
 3MM
ro   c                F    SSK Jn  U" U R                  R                  5      $ )rq   r   )$TaskRunResourceWithStreamingResponse)rr   rR  r   r6   )rf   rR  s     rl   r6   %ParallelWithStreamedResponse.task_run  s     	M3DLL4I4IJJro   c                F    SSK Jn  U" U R                  R                  5      $ )rq   r   )&TaskGroupResourceWithStreamingResponse)ru   rU  r   r7   )rf   rU  s     rl   r7   'ParallelWithStreamedResponse.task_group  s     	Q5dll6M6MNNro   c                F    SSK Jn  U" U R                  R                  5      $ )rx   r   )$MonitorResourceWithStreamingResponse)ry   rX  r   r5   )rf   rX  s     rl   r5   $ParallelWithStreamedResponse.monitor  s     	L3DLL4H4HIIro   c                F    SSK Jn  U" U R                  R                  5      $ )Nr   )!BetaResourceWithStreamingResponse)r|   r[  r   r4   )rf   r[  s     rl   r4   !ParallelWithStreamedResponse.beta&  s    E01B1BCCro   r;  Nr<  )r   z-task_run.TaskRunResourceWithStreamingResponse)r   z1task_group.TaskGroupResourceWithStreamingResponse)r   z,monitor.MonitorResourceWithStreamingResponse)r   z&beta.BetaResourceWithStreamingResponser=  r   ro   rl   r   r     se    
 K K" O O" J J D Dro   r   c                  z    \ rS rSr% S\S'   SS jr\SS j5       r\SS j5       r\SS j5       r	\SS j5       r
S	rg
)r  i-  rA   r   c                x    Xl         [        UR                  5      U l        [        UR                  5      U l        g r   )r   r'   r   r   r,  s     rl   rd   *AsyncParallelWithStreamedResponse.__init__0  s/    9NN
 9MM
ro   c                F    SSK Jn  U" U R                  R                  5      $ )rq   r   ))AsyncTaskRunResourceWithStreamingResponse)rr   ra  r   r6   )rf   ra  s     rl   r6   *AsyncParallelWithStreamedResponse.task_run:  s     	R89N9NOOro   c                F    SSK Jn  U" U R                  R                  5      $ )rq   r   )+AsyncTaskGroupResourceWithStreamingResponse)ru   rd  r   r7   )rf   rd  s     rl   r7   ,AsyncParallelWithStreamedResponse.task_groupL  s     	V:4<<;R;RSSro   c                F    SSK Jn  U" U R                  R                  5      $ )rx   r   ))AsyncMonitorResourceWithStreamingResponse)ry   rg  r   r5   )rf   rg  s     rl   r5   )AsyncParallelWithStreamedResponse.monitor^  s     	Q89M9MNNro   c                F    SSK Jn  U" U R                  R                  5      $ )Nr   )&AsyncBetaResourceWithStreamingResponse)r|   rj  r   r4   )rf   rj  s     rl   r4   &AsyncParallelWithStreamedResponse.betal  s    J5dll6G6GHHro   r;  NrM  )r   z2task_run.AsyncTaskRunResourceWithStreamingResponse)r   z6task_group.AsyncTaskGroupResourceWithStreamingResponse)r   z1monitor.AsyncMonitorResourceWithStreamingResponse)r   z+beta.AsyncBetaResourceWithStreamingResponser=  r   ro   rl   r  r  -  se    
 P P" T T" O O I Iro   r  )\
__future__r   r]   typingr   r   r   r   typing_extensionsr   r	   r
   httpx r   _qsr   typesr   r   _typesr   r   r   r   r   r   r   r   r   r   r   r   _utilsr   r   r   r    r!   _compatr"   _versionr#   	_responser$   r%   r&   r'   
_streamingr(   r)   r*   r+   _base_clientr,   r-   r.   r/   types.search_resultr0   types.extract_responser1   $types.advanced_search_settings_paramr2   %types.advanced_extract_settings_paramr3   	resourcesr4   r5   r6   r7   ry   r8   r9   rr   r:   r;   resources.beta.betar<   r=   ru   r>   r?   __all__r@   rA   r   r  r   r  rB   rC   r   ro   rl   <module>r     s    # 	 8 8 5 5    >     % !  E 6  . 3 M O>>HIDO	EE} EEPEEN EEPC> C>LCC CCLCD CDLCI CIL 
ro   