
    ̺iG                        S SK J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  SSKJrJr  SS	/r " S
 S\5      r " S S	\5      r " S S5      r " S S5      r " S S5      r " S S5      rg)    )annotations   )_legacy_response)cached_property)SyncAPIResourceAsyncAPIResource)to_streamed_response_wrapper"async_to_streamed_response_wrapper)MessagesAsyncMessagesr   r   c                      \ rS rSr\R
                  r\R                  r\R                  r\SS j5       r	\SS j5       r
Srg)r      c                    [        U 5      $ z
This property can be used as a prefix for any HTTP method call to return the
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
)MessagesWithRawResponseselfs    b/var/www/piano.thomer.com/venv/lib/python3.13/site-packages/anthropic/lib/vertex/_beta_messages.pywith_raw_responseMessages.with_raw_response   s     't,,    c                    [        U 5      $ 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
)MessagesWithStreamingResponser   s    r   with_streaming_response Messages.with_streaming_response   s     -T22r    N)returnr   )r   r   )__name__
__module____qualname____firstlineno__FirstPartyMessagesAPIcreatestreamcount_tokensr   r   r   __static_attributes__r   r   r   r   r      sI    "))F"))F(55L- - 3 3r   c                      \ rS rSr\R
                  r\R                  r\R                  r\SS j5       r	\SS j5       r
Srg)r   '   c                    [        U 5      $ r   )AsyncMessagesWithRawResponser   s    r   r   AsyncMessages.with_raw_response,   s     ,D11r   c                    [        U 5      $ r   )"AsyncMessagesWithStreamingResponser   s    r   r   %AsyncMessages.with_streaming_response6   s     2$77r   r   N)r   r+   )r   r.   )r   r    r!   r"   FirstPartyAsyncMessagesAPIr$   r%   r&   r   r   r   r'   r   r   r   r   r   '   sI    '..F'..F-::L2 2 8 8r   c                      \ rS rSrSS jrSrg)r   @   c                Z    Xl         [        R                  " UR                  5      U l        g N)	_messagesr   to_raw_response_wrapperr$   r   messagess     r   __init__ MessagesWithRawResponse.__init__A   s     !&>>OO
r   r5   r$   Nr8   r   r   Noner   r    r!   r"   r9   r'   r   r   r   r   r   @       
r   r   c                      \ rS rSrSS jrSrg)r+   I   c                Z    Xl         [        R                  " UR                  5      U l        g r4   )r5   r   async_to_raw_response_wrapperr$   r7   s     r   r9   %AsyncMessagesWithRawResponse.__init__J   s     !&DDOO
r   r;   Nr8   r   r   r=   r>   r   r   r   r+   r+   I   r?   r   r+   c                      \ rS rSrSS jrSrg)r   R   c                D    Xl         [        UR                  5      U l        g r4   )r5   r	   r$   r7   s     r   r9   &MessagesWithStreamingResponse.__init__S   s    !2OO
r   r;   Nr<   r>   r   r   r   r   r   R   r?   r   r   c                      \ rS rSrSS jrSrg)r.   [   c                D    Xl         [        UR                  5      U l        g r4   )r5   r
   r$   r7   s     r   r9   +AsyncMessagesWithStreamingResponse.__init__\   s    !8OO
r   r;   NrE   r>   r   r   r   r.   r.   [   r?   r   r.   N)
__future__r    r   _compatr   	_resourcer   r   	_responser	   r
   resources.betar   r#   r   r0   __all__r   r+   r   r.   r   r   r   <module>rU      sd    #   & : Y l
'3 328$ 82
 

 

 

 
r   