
    iF                       d dl mZ d dlmZmZmZmZmZ d dlmZ d dl	m
Z
 d dlmZ d dlZddlmZ d	d
lmZmZmZmZmZmZ ddlmZmZmZmZmZmZmZmZ ddl m!Z!m"Z"m#Z#m$Z$m%Z% d	dl&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z, ddl-m.Z. ddl/m0Z0m1Z1 ddl2m3Z3m4Z4 ddl5m6Z6m7Z7 ddl8m9Z9m:Z:m;Z; ddl<m=Z=m>Z> ddl?m@Z@ ddlAmBZB ddlCmDZD ddgZE G d de0          ZF G d de1          ZG G d d          ZH G d d          ZI G d d           ZJ G d! d"          ZKdS )#    )annotations)DictListUnionIterableOptional)datetime)chain)LiteralN   )_legacy_response   )EventsAsyncEventsEventsWithRawResponseAsyncEventsWithRawResponseEventsWithStreamingResponse AsyncEventsWithStreamingResponse)BodyOmitQueryHeadersNotGivenSequenceNotStromit	not_given)is_givenpath_templatemaybe_transformstrip_not_givenasync_maybe_transform)	ResourcesAsyncResourcesResourcesWithRawResponseAsyncResourcesWithRawResponseResourcesWithStreamingResponse#AsyncResourcesWithStreamingResponse)cached_property)SyncAPIResourceAsyncAPIResource)to_streamed_response_wrapper"async_to_streamed_response_wrapper)SyncPageCursorAsyncPageCursor)session_list_paramssession_create_paramssession_update_params)AsyncPaginatormake_request_options)AnthropicBetaParam)BetaManagedAgentsSession)BetaManagedAgentsDeletedSessionSessionsAsyncSessionsc                     e Zd Zed?d            Zed@d            ZedAd            ZedBd	            Zeeeeed
d
d
e	d	dCd#Z
ed
d
d
e	d$dDd&Zeeeed
d
d
e	d'dEd)Zeeeeeeeeeeed
d
d
e	d*dFd;Zed
d
d
e	d$dGd=Zed
d
d
e	d$dDd>Zd
S )Hr7   returnr   c                *    t          | j                  S N)r   _clientselfs    t/home/agentuser/.hermes/hermes-agent/venv/lib/python3.11/site-packages/anthropic/resources/beta/sessions/sessions.pyeventszSessions.events-   s    dl###    r"   c                *    t          | j                  S r<   )r"   r=   r>   s    r@   	resourceszSessions.resources1   s    &&&rB   SessionsWithRawResponsec                     t          |           S a  
        This property can be used as a prefix for any HTTP method call to return
        the raw response object instead of the parsed content.

        For more information, see https://www.github.com/anthropics/anthropic-sdk-python#accessing-raw-response-data-eg-headers
        )rE   r>   s    r@   with_raw_responsezSessions.with_raw_response5   s     't,,,rB   SessionsWithStreamingResponsec                     t          |           S z
        An alternative to `.with_raw_response` that doesn't eagerly read the response body.

        For more information, see https://www.github.com/anthropics/anthropic-sdk-python#with_streaming_response
        )rI   r>   s    r@   with_streaming_responsez Sessions.with_streaming_response?   s     -T222rB   N	metadatarD   title	vault_idsbetasextra_headersextra_query
extra_bodytimeoutagentsession_create_params.Agentenvironment_idstrrN   Dict[str, str] | OmitrD   /Iterable[session_create_params.Resource] | OmitrO   Optional[str] | OmitrP   SequenceNotStr[str] | OmitrQ   List[AnthropicBetaParam] | OmitrR   Headers | NonerS   Query | NonerT   Body | NonerU   'float | httpx.Timeout | None | NotGivenr5   c               `   i t          dt          |          r.d                    t          d |D             dg                    nt          i          |pi }ddi|pi }|                     dt          ||||||dt          j                  t          ||	|
|          t                    S )	>  Create Session

        Args:
          agent: Agent identifier.

        Accepts the `agent` ID string, which pins the latest version
              for the session, or an `agent` object with both id and version specified.

          environment_id: ID of the `environment` defining the container configuration for this session.

          metadata: Arbitrary key-value metadata attached to the session. Maximum 16 pairs, keys up
              to 64 chars, values up to 512 chars.

          resources: Resources (e.g. repositories, files) to mount into the session's container.

          title: Human-readable session title.

          vault_ids: Vault IDs for stored credentials the agent can use during the session.

          betas: Optional header to specify the beta version(s) you want to use.

          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
        anthropic-beta,c              3  4   K   | ]}t          |          V  d S r<   rY   .0es     r@   	<genexpr>z"Sessions.create.<locals>.<genexpr>y   (      5L5Lc!ff5L5L5L5L5L5LrB   managed-agents-2026-04-01/v1/sessions?beta=truerV   rX   rN   rD   rO   rP   rR   rS   rT   rU   bodyoptionscast_to)r    r   joinr
   r   _postr   r0   SessionCreateParamsr3   r5   r?   rV   rX   rN   rD   rO   rP   rQ   rR   rS   rT   rU   s               r@   createzSessions.createH   s    \	
$'#chhu5L5Le5L5L5LOjNk/l/l&m&m&m" 	
 "	
 *+F`=K^\^`zz$ "&4 (!*"!*  &9
 
 )+Q[el   -!  
 
 	
rB   rQ   rR   rS   rT   rU   
session_idc          
     f   |st          d|          i t          dt          |          r.d                    t	          d |D             dg                    nt
          i          |pi }ddi|pi }|                     t          d|          t          ||||          t          	          S )
  
        Get Session

        Args:
          betas: Optional header to specify the beta version(s) you want to use.

          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
        9Expected a non-empty value for `session_id` but received re   rf   c              3  4   K   | ]}t          |          V  d S r<   rh   ri   s     r@   rl   z$Sessions.retrieve.<locals>.<genexpr>   rm   rB   rn   #/v1/sessions/{session_id}?beta=truer|   rq   rt   ru   

ValueErrorr    r   rv   r
   r   _getr   r3   r5   r?   r|   rQ   rR   rS   rT   rU   s          r@   retrievezSessions.retrieve   s    4  	igYcgghhh	
$'#chhu5L5Le5L5L5LOjNk/l/l&m&m&m" 	
 "	
 *+F`=K^\^`yy?JWWW(+Q[el   -  
 
 	
rB   rN   rO   rP   rQ   rR   rS   rT   rU   )Optional[Dict[str, Optional[str]]] | Omitc          
        |st          d|          i t          dt          |          r.d                    t	          d |D             dg                    nt
          i          |pi }ddi|pi }|                     t          d|          t          |||dt          j
                  t          ||||		          t          
          S )  Update Session

        Args:
          metadata: Metadata patch.

        Set a key to a string to upsert it, or to null to delete it.
              Omit the field to preserve.

          title: Human-readable session title.

          vault_ids: Vault IDs (`vlt_*`) to attach to the session. Not yet supported; requests
              setting this field are rejected. Reserved for future use.

          betas: Optional header to specify the beta version(s) you want to use.

          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
        r   re   rf   c              3  4   K   | ]}t          |          V  d S r<   rh   ri   s     r@   rl   z"Sessions.update.<locals>.<genexpr>   rm   rB   rn   r   r   rN   rO   rP   rq   rr   )r   r    r   rv   r
   r   rw   r   r   r1   SessionUpdateParamsr3   r5   
r?   r|   rN   rO   rP   rQ   rR   rS   rT   rU   s
             r@   updatezSessions.update   s%   L  	igYcgghhh	
$'#chhu5L5Le5L5L5LOjNk/l/l&m&m&m" 	
 "	
 *+F`=K^\^`zz?JWWW  ("!* 
 &9  )+Q[el   -  
 
 	
rB   agent_idagent_versioncreated_at_gtcreated_at_gtecreated_at_ltcreated_at_lteinclude_archivedlimitorderpagerQ   rR   rS   rT   rU   r   
str | Omitr   
int | Omitr   Union[str, datetime] | Omitr   r   r   r   bool | Omitr   r   Literal['asc', 'desc'] | Omitr   (SyncPageCursor[BetaManagedAgentsSession]c                  i t          dt          |          r.d                    t          d |D             dg                    nt          i          |pi }ddi|pi }|                     dt          t                   t          ||||t          |||||||||	|
d
t          j                            t                    S )	  
        List Sessions

        Args:
          agent_id: Filter sessions created with this agent ID.

          agent_version: Filter by agent version. Only applies when agent_id is also set.

          created_at_gt: Return sessions created after this time (exclusive).

          created_at_gte: Return sessions created at or after this time (inclusive).

          created_at_lt: Return sessions created before this time (exclusive).

          created_at_lte: Return sessions created at or before this time (inclusive).

          include_archived: When true, includes archived sessions. Default: false (exclude archived).

          limit: Maximum number of results to return.

          order: Sort direction for results, ordered by created_at. Defaults to desc (newest
              first).

          page: Opaque pagination cursor from a previous response's next_page.

          betas: Optional header to specify the beta version(s) you want to use.

          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
        re   rf   c              3  4   K   | ]}t          |          V  d S r<   rh   ri   s     r@   rl   z Sessions.list.<locals>.<genexpr>A  rm   rB   rn   ro   
r   r   r   r   r   r   r   r   r   r   rR   rS   rT   rU   queryr   rt   model)r    r   rv   r
   r   _get_api_listr-   r5   r3   r   r/   SessionListParamsr?   r   r   r   r   r   r   r   r   r   r   rQ   rR   rS   rT   rU   s                   r@   listzSessions.list  s   p	
$'#chhu5L5Le5L5L5LOjNk/l/l&m&m&m" 	
 "	
 *+F`=K^\^`!!$ 89(+'%%$,)6)6*8)6*8,<!&!& $  (9   * +1 " 
 
 	
rB   r6   c          
     f   |st          d|          i t          dt          |          r.d                    t	          d |D             dg                    nt
          i          |pi }ddi|pi }|                     t          d|          t          ||||          t          	          S )
  
        Delete Session

        Args:
          betas: Optional header to specify the beta version(s) you want to use.

          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
        r   re   rf   c              3  4   K   | ]}t          |          V  d S r<   rh   ri   s     r@   rl   z"Sessions.delete.<locals>.<genexpr>  rm   rB   rn   r   r   rq   r   
r   r    r   rv   r
   r   _deleter   r3   r6   r   s          r@   deletezSessions.deleted  s    4  	igYcgghhh	
$'#chhu5L5Le5L5L5LOjNk/l/l&m&m&m" 	
 "	
 *+F`=K^\^`||?JWWW(+Q[el   4  
 
 	
rB   c          
     f   |st          d|          i t          dt          |          r.d                    t	          d |D             dg                    nt
          i          |pi }ddi|pi }|                     t          d|          t          ||||          t          	          S )
  
        Archive Session

        Args:
          betas: Optional header to specify the beta version(s) you want to use.

          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
        r   re   rf   c              3  4   K   | ]}t          |          V  d S r<   rh   ri   s     r@   rl   z#Sessions.archive.<locals>.<genexpr>  rm   rB   rn   +/v1/sessions/{session_id}/archive?beta=truer   rq   r   
r   r    r   rv   r
   r   rw   r   r3   r5   r   s          r@   archivezSessions.archive  s    4  	igYcgghhh	
$'#chhu5L5Le5L5L5LOjNk/l/l&m&m&m" 	
 "	
 *+F`=K^\^`zzGT^___(+Q[el   -  
 
 	
rB   )r:   r   )r:   r"   )r:   rE   )r:   rI   rV   rW   rX   rY   rN   rZ   rD   r[   rO   r\   rP   r]   rQ   r^   rR   r_   rS   r`   rT   ra   rU   rb   r:   r5   r|   rY   rQ   r^   rR   r_   rS   r`   rT   ra   rU   rb   r:   r5   r|   rY   rN   r   rO   r\   rP   r]   rQ   r^   rR   r_   rS   r`   rT   ra   rU   rb   r:   r5   ) r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   rQ   r^   rR   r_   rS   r`   rT   ra   rU   rb   r:   r   r|   rY   rQ   r^   rR   r_   rS   r`   rT   ra   rU   rb   r:   r6   __name__
__module____qualname__r(   rA   rD   rH   rL   r   r   rz   r   r   r   r   r    rB   r@   r7   r7   ,   s       $ $ $ _$ ' ' ' _' - - - _- 3 3 3 _3 +/EI&*0415 )-$("&;DJ
 J
 J
 J
 J
 J
` 26 )-$("&;D-
 -
 -
 -
 -
 -
f ?C&*0415 )-$("&;DA
 A
 A
 A
 A
 A
L  $$(596:596:(, /315 )-$("&;D'\
 \
 \
 \
 \
 \
D 26 )-$("&;D-
 -
 -
 -
 -
 -
f 26 )-$("&;D-
 -
 -
 -
 -
 -
 -
 -
rB   c                     e Zd Zed?d            Zed@d            ZedAd            ZedBd	            Zeeeeed
d
d
e	d	dCd#Z
ed
d
d
e	d$dDd&Zeeeed
d
d
e	d'dEd)Zeeeeeeeeeeed
d
d
e	d*dFd;Zed
d
d
e	d$dGd=Zed
d
d
e	d$dDd>Zd
S )Hr8   r:   r   c                *    t          | j                  S r<   )r   r=   r>   s    r@   rA   zAsyncSessions.events  s    4<(((rB   r#   c                *    t          | j                  S r<   )r#   r=   r>   s    r@   rD   zAsyncSessions.resources  s    dl+++rB   AsyncSessionsWithRawResponsec                     t          |           S rG   )r   r>   s    r@   rH   zAsyncSessions.with_raw_response  s     ,D111rB   "AsyncSessionsWithStreamingResponsec                     t          |           S rK   )r   r>   s    r@   rL   z%AsyncSessions.with_streaming_response  s     2$777rB   NrM   rV   rW   rX   rY   rN   rZ   rD   r[   rO   r\   rP   r]   rQ   r^   rR   r_   rS   r`   rT   ra   rU   rb   r5   c               |  K   i t          dt          |          r.d                    t          d |D             dg                    nt          i          |pi }ddi|pi }|                     dt          ||||||dt          j                   d{V t          ||	|
|          t          	           d{V S )
rd   re   rf   c              3  4   K   | ]}t          |          V  d S r<   rh   ri   s     r@   rl   z'AsyncSessions.create.<locals>.<genexpr>  rm   rB   rn   ro   rp   Nrq   rr   )r    r   rv   r
   r   rw   r!   r0   rx   r3   r5   ry   s               r@   rz   zAsyncSessions.create  s=     \	
$'#chhu5L5Le5L5L5LOjNk/l/l&m&m&m" 	
 "	
 *+F`=K^\^`ZZ$,"&4 (!*"!*  &9
 
 
 
 
 
 
 
 )+Q[el   -!   
 
 
 
 
 
 
 
 	
rB   r{   r|   c          
     v  K   |st          d|          i t          dt          |          r.d                    t	          d |D             dg                    nt
          i          |pi }ddi|pi }|                     t          d|          t          ||||          t          	           d
{V S )r~   r   re   rf   c              3  4   K   | ]}t          |          V  d S r<   rh   ri   s     r@   rl   z)AsyncSessions.retrieve.<locals>.<genexpr>J  rm   rB   rn   r   r   rq   r   Nr   r   s          r@   r   zAsyncSessions.retrieve+  s     4  	igYcgghhh	
$'#chhu5L5Le5L5L5LOjNk/l/l&m&m&m" 	
 "	
 *+F`=K^\^`YY?JWWW(+Q[el   -  
 
 
 
 
 
 
 
 	
rB   r   r   c          
       K   |st          d|          i t          dt          |          r.d                    t	          d |D             dg                    nt
          i          |pi }ddi|pi }|                     t          d|          t          |||dt          j
                   d	{V t          ||||	
          t                     d	{V S )r   r   re   rf   c              3  4   K   | ]}t          |          V  d S r<   rh   ri   s     r@   rl   z'AsyncSessions.update.<locals>.<genexpr>  rm   rB   rn   r   r   r   Nrq   rr   )r   r    r   rv   r
   r   rw   r   r!   r1   r   r3   r5   r   s
             r@   r   zAsyncSessions.updateZ  se     L  	igYcgghhh	
$'#chhu5L5Le5L5L5LOjNk/l/l&m&m&m" 	
 "	
 *+F`=K^\^`ZZ?JWWW, ("!* 
 &9        )+Q[el   -   
 
 
 
 
 
 
 
 	
rB   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   SAsyncPaginator[BetaManagedAgentsSession, AsyncPageCursor[BetaManagedAgentsSession]]c                  i t          dt          |          r.d                    t          d |D             dg                    nt          i          |pi }ddi|pi }|                     dt          t                   t          ||||t          |||||||||	|
d
t          j                            t                    S )	r   re   rf   c              3  4   K   | ]}t          |          V  d S r<   rh   ri   s     r@   rl   z%AsyncSessions.list.<locals>.<genexpr>  rm   rB   rn   ro   r   r   r   )r    r   rv   r
   r   r   r.   r5   r3   r   r/   r   r   s                   r@   r   zAsyncSessions.list  s   p	
$'#chhu5L5Le5L5L5LOjNk/l/l&m&m&m" 	
 "	
 *+F`=K^\^`!!$ !9:(+'%%$,)6)6*8)6*8,<!&!& $  (9   * +1 " 
 
 	
rB   r6   c          
     v  K   |st          d|          i t          dt          |          r.d                    t	          d |D             dg                    nt
          i          |pi }ddi|pi }|                     t          d|          t          ||||          t          	           d
{V S )r   r   re   rf   c              3  4   K   | ]}t          |          V  d S r<   rh   ri   s     r@   rl   z'AsyncSessions.delete.<locals>.<genexpr>  rm   rB   rn   r   r   rq   r   Nr   r   s          r@   r   zAsyncSessions.delete  s     4  	igYcgghhh	
$'#chhu5L5Le5L5L5LOjNk/l/l&m&m&m" 	
 "	
 *+F`=K^\^`\\?JWWW(+Q[el   4 " 
 
 
 
 
 
 
 
 	
rB   c          
     v  K   |st          d|          i t          dt          |          r.d                    t	          d |D             dg                    nt
          i          |pi }ddi|pi }|                     t          d|          t          ||||          t          	           d
{V S )r   r   re   rf   c              3  4   K   | ]}t          |          V  d S r<   rh   ri   s     r@   rl   z(AsyncSessions.archive.<locals>.<genexpr>I  rm   rB   rn   r   r   rq   r   Nr   r   s          r@   r   zAsyncSessions.archive*  s     4  	igYcgghhh	
$'#chhu5L5Le5L5L5LOjNk/l/l&m&m&m" 	
 "	
 *+F`=K^\^`ZZGT^___(+Q[el   -   
 
 
 
 
 
 
 
 	
rB   )r:   r   )r:   r#   )r:   r   )r:   r   r   r   r   ) r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   rQ   r^   rR   r_   rS   r`   rT   ra   rU   rb   r:   r   r   r   r   rB   r@   r8   r8     s       ) ) ) _) , , , _, 2 2 2 _2 8 8 8 _8 +/EI&*0415 )-$("&;DJ
 J
 J
 J
 J
 J
` 26 )-$("&;D-
 -
 -
 -
 -
 -
f ?C&*0415 )-$("&;DA
 A
 A
 A
 A
 A
L  $$(596:596:(, /315 )-$("&;D'\
 \
 \
 \
 \
 \
D 26 )-$("&;D-
 -
 -
 -
 -
 -
f 26 )-$("&;D-
 -
 -
 -
 -
 -
 -
 -
rB   c                  F    e Zd ZddZedd            Zedd	            Zd
S )rE   sessionsr7   r:   Nonec                |   || _         t          j        |j                  | _        t          j        |j                  | _        t          j        |j                  | _        t          j        |j                  | _        t          j        |j                  | _        t          j        |j                  | _        d S r<   )		_sessionsr   to_raw_response_wrapperrz   r   r   r   r   r   r?   r   s     r@   __init__z SessionsWithRawResponse.__init__[  s    !&>O
 
 )@
 
 '>O
 
 %<M
 
	 '>O
 
 (?
 
rB   r   c                4    t          | j        j                  S r<   )r   r   rA   r>   s    r@   rA   zSessionsWithRawResponse.eventsq  s    $T^%:;;;rB   r$   c                4    t          | j        j                  S r<   )r$   r   rD   r>   s    r@   rD   z!SessionsWithRawResponse.resourcesu  s    '(@AAArB   Nr   r7   r:   r   )r:   r   )r:   r$   r   r   r   r   r(   rA   rD   r   rB   r@   rE   rE   Z  sn        
 
 
 
, < < < _< B B B _B B BrB   rE   c                  F    e Zd ZddZedd            Zedd	            Zd
S )r   r   r8   r:   r   c                |   || _         t          j        |j                  | _        t          j        |j                  | _        t          j        |j                  | _        t          j        |j                  | _        t          j        |j                  | _        t          j        |j                  | _        d S r<   )	r   r   async_to_raw_response_wrapperrz   r   r   r   r   r   r   s     r@   r   z%AsyncSessionsWithRawResponse.__init__{  s    !&DO
 
 )F
 
 'DO
 
 %BM
 
	 'DO
 
 (E
 
rB   r   c                4    t          | j        j                  S r<   )r   r   rA   r>   s    r@   rA   z#AsyncSessionsWithRawResponse.events  s    )$.*?@@@rB   r%   c                4    t          | j        j                  S r<   )r%   r   rD   r>   s    r@   rD   z&AsyncSessionsWithRawResponse.resources  s    ,T^-EFFFrB   Nr   r8   r:   r   )r:   r   )r:   r%   r   r   rB   r@   r   r   z  sr        
 
 
 
, A A A _A G G G _G G GrB   r   c                  F    e Zd ZddZedd            Zedd	            Zd
S )rI   r   r7   r:   r   c                @   || _         t          |j                  | _        t          |j                  | _        t          |j                  | _        t          |j                  | _        t          |j                  | _        t          |j                  | _        d S r<   )r   r+   rz   r   r   r   r   r   r   s     r@   r   z&SessionsWithStreamingResponse.__init__  s    !2O
 
 5
 
 3O
 
 1M
 
	 3O
 
 4
 
rB   r   c                4    t          | j        j                  S r<   )r   r   rA   r>   s    r@   rA   z$SessionsWithStreamingResponse.events  s    *4>+@AAArB   r&   c                4    t          | j        j                  S r<   )r&   r   rD   r>   s    r@   rD   z'SessionsWithStreamingResponse.resources  s    -dn.FGGGrB   Nr   )r:   r   )r:   r&   r   r   rB   r@   rI   rI     sr        
 
 
 
, B B B _B H H H _H H HrB   rI   c                  F    e Zd ZddZedd            Zedd	            Zd
S )r   r   r8   r:   r   c                @   || _         t          |j                  | _        t          |j                  | _        t          |j                  | _        t          |j                  | _        t          |j                  | _        t          |j                  | _        d S r<   )r   r,   rz   r   r   r   r   r   r   s     r@   r   z+AsyncSessionsWithStreamingResponse.__init__  s    !8O
 
 ;
 
 9O
 
 7M
 
	 9O
 
 :
 
rB   r   c                4    t          | j        j                  S r<   )r   r   rA   r>   s    r@   rA   z)AsyncSessionsWithStreamingResponse.events  s    /0EFFFrB   r'   c                4    t          | j        j                  S r<   )r'   r   rD   r>   s    r@   rD   z,AsyncSessionsWithStreamingResponse.resources  s    24>3KLLLrB   Nr   )r:   r   )r:   r'   r   r   rB   r@   r   r     sr        
 
 
 
, G G G _G M M M _M M MrB   r   )L
__future__r   typingr   r   r   r   r   r	   	itertoolsr
   typing_extensionsr   httpx r   rA   r   r   r   r   r   r   _typesr   r   r   r   r   r   r   r   _utilsr   r   r   r    r!   rD   r"   r#   r$   r%   r&   r'   _compatr(   	_resourcer)   r*   	_responser+   r,   
paginationr-   r.   
types.betar/   r0   r1   _base_clientr2   r3   types.anthropic_beta_paramr4   &types.beta.beta_managed_agents_sessionr5   .types.beta.beta_managed_agents_deleted_sessionr6   __all__r7   r8   rE   r   rI   r   r   rB   r@   <module>r     s   # " " " " " 8 8 8 8 8 8 8 8 8 8 8 8 8 8             % % % % % %  ! ! ! ! ! !                ] \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ g g g g g g g g g g g g g g                ( ' ' ' ' ' ; ; ; ; ; ; ; ; Z Z Z Z Z Z Z Z : : : : : : : : \ \ \ \ \ \ \ \ \ \ A A A A A A A A = = = = = = O O O O O O ^ ^ ^ ^ ^ ^
'T
 T
 T
 T
 T
 T
 T
 T
nT
 T
 T
 T
 T
$ T
 T
 T
nB B B B B B B B@G G G G G G G G@H H H H H H H H@M M M M M M M M M MrB   