o
    (i}                     @  s   d dl mZ ddlmZ ddlmZ ddlmZmZ ddl	m
Z
mZ ddlmZmZ dd	gZG d
d deZG dd	 d	eZG dd dZG dd dZG dd dZG dd dZdS )    )annotations   )_legacy_response)cached_property)SyncAPIResourceAsyncAPIResource)to_streamed_response_wrapper"async_to_streamed_response_wrapper)MessagesAsyncMessagesr
   r   c                   @  .   e Zd ZejZed	ddZed
ddZdS )r
   returnMessagesWithRawResponsec                 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
        )r   self r   a/home/ubuntu/veenaModal/venv/lib/python3.10/site-packages/anthropic/lib/bedrock/_beta_messages.pywith_raw_response      zMessages.with_raw_responseMessagesWithStreamingResponsec                 C  r   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   r   r   r   with_streaming_response      z Messages.with_streaming_responseN)r   r   )r   r   )__name__
__module____qualname__FirstPartyMessagesAPIcreater   r   r   r   r   r   r   r
          	c                   @  r   )r   r   AsyncMessagesWithRawResponsec                 C  r   r   )r!   r   r   r   r   r   (   r   zAsyncMessages.with_raw_response"AsyncMessagesWithStreamingResponsec                 C  r   r   )r"   r   r   r   r   r   2   r   z%AsyncMessages.with_streaming_responseN)r   r!   )r   r"   )r   r   r   FirstPartyAsyncMessagesAPIr   r   r   r   r   r   r   r   r   %   r    c                   @     e Zd ZdddZdS )	r   messagesr
   r   Nonec                 C     || _ t|j| _d S N)	_messagesr   to_raw_response_wrapperr   r   r%   r   r   r   __init__=      
z MessagesWithRawResponse.__init__Nr%   r
   r   r&   r   r   r   r,   r   r   r   r   r   <       r   c                   @  r$   )	r!   r%   r   r   r&   c                 C  r'   r(   )r)   r   async_to_raw_response_wrapperr   r+   r   r   r   r,   F   r-   z%AsyncMessagesWithRawResponse.__init__Nr%   r   r   r&   r/   r   r   r   r   r!   E   r0   r!   c                   @  r$   )	r   r%   r
   r   r&   c                 C     || _ t|j| _d S r(   )r)   r   r   r+   r   r   r   r,   O      
z&MessagesWithStreamingResponse.__init__Nr.   r/   r   r   r   r   r   N   r0   r   c                   @  r$   )	r"   r%   r   r   r&   c                 C  r3   r(   )r)   r	   r   r+   r   r   r   r,   X   r4   z+AsyncMessagesWithStreamingResponse.__init__Nr2   r/   r   r   r   r   r"   W   r0   r"   N)
__future__r    r   _compatr   	_resourcer   r   	_responser   r	   resources.betar
   r   r   r#   __all__r   r!   r   r"   r   r   r   r   <module>   s   			