
     `i                        d dl mZ ddlmZ ddlmZmZ ddlmZm	Z	m
Z
mZmZmZ ddgZ G d	 de          Z G d
 de          Z G d d          Z G d d          Z G d d          Z G d d          ZdS )    )annotations   )cached_property)SyncAPIResourceAsyncAPIResource   )MessagesAsyncMessagesMessagesWithRawResponseAsyncMessagesWithRawResponseMessagesWithStreamingResponse"AsyncMessagesWithStreamingResponseBeta	AsyncBetac                  V    e Zd Zed	d            Zed
d            Zedd            ZdS )r   returnr	   c                *    t          | j                  S N)r	   _clientselfs    o/home/jaya/work/projects/VOICE-AGENT/VIET/agent-env/lib/python3.11/site-packages/anthropic/lib/bedrock/_beta.pymessageszBeta.messages   s    %%%    BetaWithRawResponsec                     t          |           S a  
        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
        )r   r   s    r   with_raw_responsezBeta.with_raw_response   s     #4(((r   BetaWithStreamingResponsec                     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
        )r   r   s    r   with_streaming_responsezBeta.with_streaming_response"   s     )...r   N)r   r	   )r   r   )r   r   __name__
__module____qualname__r   r   r   r"    r   r   r   r      sr        & & & _& ) ) ) _) / / / _/ / /r   c                  V    e Zd Zed	d            Zed
d            Zedd            ZdS )r   r   r
   c                *    t          | j                  S r   )r
   r   r   s    r   r   zAsyncBeta.messages-   s    T\***r   AsyncBetaWithRawResponsec                     t          |           S r   )r*   r   s    r   r   zAsyncBeta.with_raw_response1   s     (---r   AsyncBetaWithStreamingResponsec                     t          |           S r!   )r,   r   s    r   r"   z!AsyncBeta.with_streaming_response;   s     .d333r   N)r   r
   )r   r*   )r   r,   r#   r'   r   r   r   r   ,   sr        + + + _+ . . . _. 4 4 4 _4 4 4r   c                  .    e Zd Zd	dZed
d            ZdS )r   betar   r   Nonec                    || _         d S r   _betar   r/   s     r   __init__zBetaWithRawResponse.__init__F       


r   r   c                4    t          | j        j                  S r   )r   r3   r   r   s    r   r   zBetaWithRawResponse.messagesI   s    &tz':;;;r   Nr/   r   r   r0   )r   r   r$   r%   r&   r5   r   r   r'   r   r   r   r   E   sH            < < < _< < <r   r   c                  .    e Zd Zd	dZed
d            ZdS )r*   r/   r   r   r0   c                    || _         d S r   r2   r4   s     r   r5   z!AsyncBetaWithRawResponse.__init__O   r6   r   r   c                4    t          | j        j                  S r   )r   r3   r   r   s    r   r   z!AsyncBetaWithRawResponse.messagesR   s    +DJ,?@@@r   Nr/   r   r   r0   )r   r   r9   r'   r   r   r*   r*   N   sN            A A A _A A Ar   r*   c                  .    e Zd Zd	dZed
d            ZdS )r   r/   r   r   r0   c                    || _         d S r   r2   r4   s     r   r5   z"BetaWithStreamingResponse.__init__X   r6   r   r   c                4    t          | j        j                  S r   )r   r3   r   r   s    r   r   z"BetaWithStreamingResponse.messages[   s    ,TZ-@AAAr   Nr8   )r   r   r9   r'   r   r   r   r   W   sN            B B B _B B Br   r   c                  .    e Zd Zd	dZed
d            ZdS )r,   r/   r   r   r0   c                    || _         d S r   r2   r4   s     r   r5   z'AsyncBetaWithStreamingResponse.__init__a   r6   r   r   c                4    t          | j        j                  S r   )r   r3   r   r   s    r   r   z'AsyncBetaWithStreamingResponse.messagesd   s    1$*2EFFFr   Nr=   )r   r   r9   r'   r   r   r,   r,   `   sN            G G G _G G Gr   r,   N)
__future__r   _compatr   	_resourcer   r   _beta_messagesr	   r
   r   r   r   r   __all__r   r   r   r*   r   r,   r'   r   r   <module>rI      s   # " " " " " & & & & & & : : : : : : : :                ;
/ / / / /? / / /24 4 4 4 4  4 4 42< < < < < < < <A A A A A A A AB B B B B B B BG G G G G G G G G Gr   