
    2h[                       S SK Jr  S SKrSSKJr  SSKJrJrJrJ	r	J
r
  SSKJr  SSKJrJr  SSKJrJrJrJr  SS	K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)    )annotationsN   )_legacy_response)	NOT_GIVENBodyQueryHeadersNotGiven)cached_property)SyncAPIResourceAsyncAPIResource)StreamedBinaryAPIResponseAsyncStreamedBinaryAPIResponse#to_custom_streamed_response_wrapper)async_to_custom_streamed_response_wrapper)make_request_optionsContentAsyncContentc                  n    \ rS rSr\SS j5       r\S	S j5       rSSS\S.             S
S jj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 raw response object instead of the parsed content.

For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
)ContentWithRawResponseselfs    a/var/www/auris/envauris/lib/python3.13/site-packages/openai/resources/containers/files/content.pywith_raw_responseContent.with_raw_response   s     &d++    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/openai/openai-python#with_streaming_response
)ContentWithStreamingResponser   s    r   with_streaming_responseContent.with_streaming_response!   s     ,D11r   Nextra_headersextra_query
extra_bodytimeoutc          
         U(       d  [        SU< 35      eU(       d  [        SU< 35      eSS0U=(       d    0 EnU R                  SU SU S3[        X4XVS9[        R                  S	9$ )
  
Retrieve Container File Content

Args:
  extra_headers: Send extra headers

  extra_query: Add additional query parameters to the request

  extra_body: Add additional JSON properties to the request

  timeout: Override the client-level default timeout for this request, in seconds
;Expected a non-empty value for `container_id` but received 6Expected a non-empty value for `file_id` but received Acceptapplication/binary/containers//files//contentr%   optionscast_to
ValueError_getr   r   HttpxBinaryResponseContentr   file_idcontainer_idr&   r'   r(   r)   s          r   retrieveContent.retrieve*   s    0 Z[gZjkllUV]U`abb!#7QM<ORQyy<.yA(+Q[ %??  
 	
r    )returnr   )r@   r"   r;   strr<   rB   r&   zHeaders | Noner'   zQuery | Noner(   zBody | Noner)   z'float | httpx.Timeout | None | NotGivenr@   z+_legacy_response.HttpxBinaryResponseContent
__name__
__module____qualname____firstlineno__r   r   r#   r   r=   __static_attributes__r?   r   r   r   r      s    , , 2 2 )-$("&;D#
#
 	#
 &#
 "#
  #
 9#
 
5#
 #
r   c                  n    \ rS rSr\SS j5       r\S	S j5       rSSS\S.             S
S jjrSr	g)r   P   c                    [        U 5      $ r   )AsyncContentWithRawResponser   s    r   r   AsyncContent.with_raw_responseQ   s     +400r   c                    [        U 5      $ r!   )!AsyncContentWithStreamingResponser   s    r   r#   $AsyncContent.with_streaming_response[   s     166r   Nr%   c          
        #    U(       d  [        SU< 35      eU(       d  [        SU< 35      eSS0U=(       d    0 EnU R                  SU SU S3[        X4XVS9[        R                  S	9I S
h  vN $  N7f)r+   r,   r-   r.   r/   r0   r1   r2   r%   r3   Nr6   r:   s          r   r=   AsyncContent.retrieved   s     0 Z[gZjkllUV]U`abb!#7QM<ORQYY<.yA(+Q[ %??  
 
 	
 
s   A-A6/A40A6r?   )r@   rL   )r@   rO   rA   rC   r?   r   r   r   r   P   s    1 1 7 7 )-$("&;D#
#
 	#
 &#
 "#
  #
 9#
 
5#
 #
r   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)_contentr   to_raw_response_wrapperr=   r   contents     r   __init__ContentWithRawResponse.__init__   s"    (@@
r   rW   r=   NrZ   r   r@   NonerD   rE   rF   rG   r[   rH   r?   r   r   r   r          
r   r   c                      \ rS rSrSS jrSrg)rL      c                Z    Xl         [        R                  " UR                  5      U l        g rV   )rW   r   async_to_raw_response_wrapperr=   rY   s     r   r[   $AsyncContentWithRawResponse.__init__   s"    (FF
r   r]   NrZ   r   r@   r_   r`   r?   r   r   rL   rL      ra   r   rL   c                      \ rS rSrSS jrSrg)r"      c                N    Xl         [        UR                  [        5      U l        g rV   )rW   r   r=   r   rY   s     r   r[   %ContentWithStreamingResponse.__init__   s    ;%
r   r]   Nr^   r`   r?   r   r   r"   r"          
r   r"   c                      \ rS rSrSS jrSrg)rO      c                N    Xl         [        UR                  [        5      U l        g rV   )rW   r   r=   r   rY   s     r   r[   *AsyncContentWithStreamingResponse.__init__   s    A*
r   r]   Nrg   r`   r?   r   r   rO   rO      rl   r   rO   )
__future__r   httpx r   _typesr   r   r   r	   r
   _compatr   	_resourcer   r   	_responser   r   r   r   _base_clientr   __all__r   r   r   rL   r"   rO   r?   r   r   <module>rz      sx    #  ! @ @ ' ;  2n
%7
o 7
t7
# 7
t
 

 

 

 
r   