
    g                        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y)    )annotations   )cached_property)SyncAPIResourceAsyncAPIResource   )MessagesAsyncMessagesMessagesWithRawResponseAsyncMessagesWithRawResponseMessagesWithStreamingResponse"AsyncMessagesWithStreamingResponseBeta	AsyncBetac                  B    e Zd Zedd       Zedd       Zedd       Zy)r   c                ,    t        | j                        S N)r	   _clientselfs    O/var/www/openai/venv/lib/python3.12/site-packages/anthropic/lib/vertex/_beta.pymessageszBeta.messages   s    %%    c                    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
        )BetaWithRawResponser   s    r   with_raw_responsezBeta.with_raw_response   s     #4((r   c                    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
        )BetaWithStreamingResponser   s    r   with_streaming_responsezBeta.with_streaming_response"   s     )..r   N)returnr	   )r"   r   )r"   r    __name__
__module____qualname__r   r   r   r!    r   r   r   r      s<    & & ) ) / /r   c                  B    e Zd Zedd       Zedd       Zedd       Zy)r   c                ,    t        | j                        S r   )r
   r   r   s    r   r   zAsyncBeta.messages-   s    T\\**r   c                    t        |       S r   )AsyncBetaWithRawResponser   s    r   r   zAsyncBeta.with_raw_response1   s     (--r   c                    t        |       S r   )AsyncBetaWithStreamingResponser   s    r   r!   z!AsyncBeta.with_streaming_response;   s     .d33r   N)r"   r
   )r"   r+   )r"   r-   r#   r'   r   r   r   r   ,   s<    + + . . 4 4r   c                  &    e Zd ZddZedd       Zy)r   c                    || _         y r   _betar   betas     r   __init__zBetaWithRawResponse.__init__F   	    
r   c                @    t        | j                  j                        S r   )r   r1   r   r   s    r   r   zBetaWithRawResponse.messagesI   s    &tzz':':;;r   Nr3   r   r"   None)r"   r   r$   r%   r&   r4   r   r   r'   r   r   r   r   E   s     < <r   r   c                  &    e Zd ZddZedd       Zy)r+   c                    || _         y r   r0   r2   s     r   r4   z!AsyncBetaWithRawResponse.__init__O   r5   r   c                @    t        | j                  j                        S r   )r   r1   r   r   s    r   r   z!AsyncBetaWithRawResponse.messagesR   s    +DJJ,?,?@@r   Nr3   r   r"   r8   )r"   r   r9   r'   r   r   r+   r+   N   s     A Ar   r+   c                  &    e Zd ZddZedd       Zy)r    c                    || _         y r   r0   r2   s     r   r4   z"BetaWithStreamingResponse.__init__X   r5   r   c                @    t        | j                  j                        S r   )r   r1   r   r   s    r   r   z"BetaWithStreamingResponse.messages[   s    ,TZZ-@-@AAr   Nr7   )r"   r   r9   r'   r   r   r    r    W   s     B Br   r    c                  &    e Zd ZddZedd       Zy)r-   c                    || _         y r   r0   r2   s     r   r4   z'AsyncBetaWithStreamingResponse.__init__a   r5   r   c                @    t        | j                  j                        S r   )r   r1   r   r   s    r   r   z'AsyncBetaWithStreamingResponse.messagesd   s    1$**2E2EFFr   Nr=   )r"   r   r9   r'   r   r   r-   r-   `   s     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      sm    # & :  ;
/? /24  42< <A AB BG Gr   