
    Lh                       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 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   )Files
AsyncFilesFilesWithRawResponseAsyncFilesWithRawResponseFilesWithStreamingResponseAsyncFilesWithStreamingResponse)ModelsAsyncModelsModelsWithRawResponseAsyncModelsWithRawResponseModelsWithStreamingResponse AsyncModelsWithStreamingResponse   )cached_property)SyncAPIResourceAsyncAPIResource)MessagesAsyncMessagesMessagesWithRawResponseAsyncMessagesWithRawResponseMessagesWithStreamingResponse"AsyncMessagesWithStreamingResponseBeta	AsyncBetac                  f    e Zd Zedd       Zedd       Zed	d       Zed
d       Zedd       Zy)r   c                ,    t        | j                        S N)r   _clientselfs    P/var/www/html/venv/lib/python3.12/site-packages/anthropic/resources/beta/beta.pymodelszBeta.models$   s    dll##    c                ,    t        | j                        S r   )r   r    r!   s    r#   messageszBeta.messages(   s    %%r%   c                ,    t        | j                        S r   )r   r    r!   s    r#   filesz
Beta.files,   s    T\\""r%   c                    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
        )BetaWithRawResponser!   s    r#   with_raw_responsezBeta.with_raw_response0   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   )r2   r   )r2   r   )r2   r,   )r2   r0   	__name__
__module____qualname__r   r$   r'   r)   r-   r1    r%   r#   r   r   #   sd    $ $ & & # # ) ) / /r%   c                  f    e Zd Zedd       Zed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.modelsE   s    4<<((r%   c                ,    t        | j                        S r   )r   r    r!   s    r#   r'   zAsyncBeta.messagesI   s    T\\**r%   c                ,    t        | j                        S r   )r   r    r!   s    r#   r)   zAsyncBeta.filesM   s    $,,''r%   c                    t        |       S r+   )AsyncBetaWithRawResponser!   s    r#   r-   zAsyncBeta.with_raw_responseQ   s     (--r%   c                    t        |       S r/   )AsyncBetaWithStreamingResponser!   s    r#   r1   z!AsyncBeta.with_streaming_response[   s     .d33r%   N)r2   r   )r2   r   )r2   r   )r2   r=   )r2   r?   r3   r7   r%   r#   r   r   D   sd    ) ) + + ( ( . . 4 4r%   c                  J    e Zd ZddZedd       Ze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   rC   r$   r!   s    r#   r$   zBetaWithRawResponse.modelsi   s    $TZZ%6%677r%   c                @    t        | j                  j                        S r   )r   rC   r'   r!   s    r#   r'   zBetaWithRawResponse.messagesm   s    &tzz':':;;r%   c                @    t        | j                  j                        S r   )r   rC   r)   r!   s    r#   r)   zBetaWithRawResponse.filesq   s    #DJJ$4$455r%   NrE   r   r2   None)r2   r   )r2   r   )r2   r   r4   r5   r6   rF   r   r$   r'   r)   r7   r%   r#   r,   r,   e   sC     8 8 < < 6 6r%   r,   c                  J    e Zd ZddZedd       Zedd       Zed	d       Zy)
r=   c                    || _         y r   rB   rD   s     r#   rF   z!AsyncBetaWithRawResponse.__init__w   rG   r%   c                @    t        | j                  j                        S r   )r   rC   r$   r!   s    r#   r$   zAsyncBetaWithRawResponse.modelsz   s    )$***;*;<<r%   c                @    t        | j                  j                        S r   )r   rC   r'   r!   s    r#   r'   z!AsyncBetaWithRawResponse.messages~   s    +DJJ,?,?@@r%   c                @    t        | j                  j                        S r   )r   rC   r)   r!   s    r#   r)   zAsyncBetaWithRawResponse.files   s    ()9)9::r%   NrE   r   r2   rL   )r2   r   )r2   r   )r2   r   rM   r7   r%   r#   r=   r=   v   sE     = = A A ; ;r%   r=   c                  J    e Zd ZddZedd       Zedd       Zed	d       Zy)
r0   c                    || _         y r   rB   rD   s     r#   rF   z"BetaWithStreamingResponse.__init__   rG   r%   c                @    t        | j                  j                        S r   )r   rC   r$   r!   s    r#   r$   z BetaWithStreamingResponse.models   s    *4::+<+<==r%   c                @    t        | j                  j                        S r   )r   rC   r'   r!   s    r#   r'   z"BetaWithStreamingResponse.messages   s    ,TZZ-@-@AAr%   c                @    t        | j                  j                        S r   )r	   rC   r)   r!   s    r#   r)   zBetaWithStreamingResponse.files   s    )$***:*:;;r%   NrK   )r2   r   )r2   r   )r2   r	   rM   r7   r%   r#   r0   r0      sE     > > B B < <r%   r0   c                  J    e Zd ZddZedd       Zedd       Zed	d       Zy)
r?   c                    || _         y r   rB   rD   s     r#   rF   z'AsyncBetaWithStreamingResponse.__init__   rG   r%   c                @    t        | j                  j                        S r   )r   rC   r$   r!   s    r#   r$   z%AsyncBetaWithStreamingResponse.models   s    /

0A0ABBr%   c                @    t        | j                  j                        S r   )r   rC   r'   r!   s    r#   r'   z'AsyncBetaWithStreamingResponse.messages   s    1$**2E2EFFr%   c                @    t        | j                  j                        S r   )r
   rC   r)   r!   s    r#   r)   z$AsyncBetaWithStreamingResponse.files   s    .tzz/?/?@@r%   NrS   )r2   r   )r2   r   )r2   r
   rM   r7   r%   r#   r?   r?      sI     C C G G A Ar%   r?   N)#
__future__r   r)   r   r   r   r   r	   r
   r$   r   r   r   r   r   r   _compatr   	_resourcer   r   messages.messagesr   r   r   r   r   r   __all__r   r   r,   r=   r0   r?   r7   r%   r#   <module>rc      s    #   ' :  ;
/? /B4  4B6 6"; ;"< <"A Ar%   