+
    ^eòjÄX  ã                  ó²  € ^ RI Ht ^ RIHtHtHt ^ RIt^RIHt ^RI	H
t
Ht ^RIHt ^RIHtHtHtHtHtHtHtHtHt ^RIHtHtHtHt ^R	IHt ^R
IH t H!t! ^RI"H#t#H$t$H%t%H&t&H't'H(t(H)t)H*t*H+t+H,t, ^RI-H.t.H/t/ ^RI0H1t1H2t2H3t3 ^RI4H5t5 ^RI6H7t7 ^RI8H9t: RR.t; ! R R] 4      t< ! R R]!4      t= ! R R4      t> ! R R4      t? ! R R4      t@ ! R R4      tAR# )é    )Úannotations)ÚMappingÚOptionalÚcastN)Ú_legacy_response)Úfile_list_paramsÚfile_upload_params)Údeepcopy_with_paths)	ÚBodyÚOmitÚQueryÚHeadersÚNotGivenÚ	FileTypesÚSequenceNotStrÚomitÚ	not_given)Úextract_filesÚpath_templateÚmaybe_transformÚasync_maybe_transform)Úcached_property)ÚSyncAPIResourceÚAsyncAPIResource)
ÚBinaryAPIResponseÚAsyncBinaryAPIResponseÚStreamedBinaryAPIResponseÚAsyncStreamedBinaryAPIResponseÚto_streamed_response_wrapperÚto_custom_raw_response_wrapperÚ"async_to_streamed_response_wrapperÚ#to_custom_streamed_response_wrapperÚ$async_to_custom_raw_response_wrapperÚ)async_to_custom_streamed_response_wrapper)ÚSyncPageCursorÚAsyncPageCursor)ÚAsyncPaginatorÚmerge_headersÚmake_request_options)ÚDeletedFile)ÚFileMetadata)Ú!stainless_helper_header_from_fileÚFilesÚ
AsyncFilesc                  óò   € ] tR t^)t]R R l4       t]R R l4       tR]R]R]RR	R
R	RR	R]/R R llt	RR	R
R	RR	R]/R R llt
RR	R
R	RR	R]/R R lltRR	R
R	RR	R]/R R lltR]RR	R
R	RR	R]/R R lltRtR	# )r-   c               ó   € V ^8„  d   QhRR/# )é   ÚreturnÚFilesWithRawResponse© )Úformats   "Ú�/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/anthropic/resources/files.pyÚ__annotate__ÚFiles.__annotate__+   s   € ÷ *ñ *Ð#7ñ *ó    c                ó   € \        V 4      # ©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/anthropics/anthropic-sdk-python#accessing-raw-response-data-eg-headers
)r3   ©Úselfs   &r6   Úwith_raw_responseÚFiles.with_raw_response*   s   € ô $ DÓ)Ð)r9   c               ó   € V ^8„  d   QhRR/# )r1   r2   ÚFilesWithStreamingResponser4   )r5   s   "r6   r7   r8   5   s   € ÷ 0ñ 0Ð)Cñ 0r9   c                ó   € \        V 4      # ©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
)rA   r<   s   &r6   Úwith_streaming_responseÚFiles.with_streaming_response4   s   € ô *¨$Ó/Ð/r9   ÚidsÚlimitÚpageÚextra_headersNÚextra_queryÚ
extra_bodyÚtimeoutc               ó8   € V ^8„  d   QhRRRRRRRRR	R
RRRRRR/# )r1   rF   ú$Optional[SequenceNotStr[str]] | OmitrG   ú
int | OmitrH   úOptional[str] | OmitrI   úHeaders | NonerJ   úQuery | NonerK   úBody | NonerL   ú'float | httpx.Timeout | None | NotGivenr2   zSyncPageCursor[FileMetadata]r4   )r5   s   "r6   r7   r8   =   s\   € ÷ 8
ñ 8
ð 2ð8
ð ð	8
ð
 #ð8
ð &ð8
ð "ð8
ð  ð8
ð 9ð8
ð 
&ñ8
r9   c               óª   € V P                  R\        \        ,          \        VVVV\	        RVRVRV/\
        P                  4      R7      \        R7      # ©u-  
List Files

Args:
  ids: Restrict the result set to Files whose `id` is in this list. At most 100 entries
      (after de-duplication). Mutually exclusive with `page` and `limit`. When
      supplied, the response is always a single page (`next_page` is null). IDs that
      do not resolve to a visible File â€” including deleted Files â€” are silently
      omitted.

  limit: Number of items to return per page.

      Defaults to `20`. Ranges from `1` to `1000`.

  page: Opaque page cursor returned in a prior list response's `next_page`. Prefixed
      `page_`.

  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
ú	/v1/filesrF   rG   rH   )rI   rJ   rK   rL   Úquery)rH   ÚoptionsÚmodel)Ú_get_api_listr%   r+   r)   r   r   ÚFileListParams©r=   rF   rG   rH   rI   rJ   rK   rL   s   &$$$$$$$r6   ÚlistÚ
Files.list=   sh   € ðL ×!Ñ!ØÜ¤Õ-Ü(Ø+Ø'Ø%ØÜ%à˜sØ Ø ðô
 %×3Ñ3óôô ð# "ó 
ð 	
r9   c               ó0   € V ^8„  d   QhRRRRRRRRR	R
RR/# ©r1   Úfile_idÚstrrI   rQ   rJ   rR   rK   rS   rL   rT   r2   r*   r4   )r5   s   "r6   r7   r8   w   óF   € ÷ !
ñ !
àð!
ð &ð!
ð "ð!
ð  ð!
ð 9ð!
ð 
ñ!
r9   c          
     óŒ   € V'       g   \        RV: 24      hV P                  \        RVR7      \        W#WER7      \        R7      # )á#  
Delete File

Args:
  file_id: ID of the File.

  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
ú6Expected a non-empty value for `file_id` but received ú/v1/files/{file_id}©rb   ©rI   rJ   rK   rL   ©rY   Úcast_to©Ú
ValueErrorÚ_deleter   r)   r*   ©r=   rb   rI   rJ   rK   rL   s   &&$$$$r6   ÚdeleteÚFiles.deletew   sP   € ÷2 ÜÐUÐV]ÑU`ÐaÓbÐbØ�|‰|ÜÐ/¸ÔAÜ(Ø+ÐQ[ôô  ð ó 
ð 	
r9   c               ó0   € V ^8„  d   QhRRRRRRRRR	R
RR/# )r1   rb   rc   rI   rQ   rJ   rR   rK   rS   rL   rT   r2   r   r4   )r5   s   "r6   r7   r8   š   sF   € ÷ "
ñ "
àð"
ð &ð"
ð "ð"
ð  ð"
ð 9ð"
ð 
ñ"
r9   c          
     ó¬   € V'       g   \        RV: 24      hRR/T;'       g    / CpV P                  \        RVR7      \        W#WER7      \        R7      # )á%  
Download File

Args:
  file_id: ID of the File.

  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
rg   ÚAcceptúapplication/binaryú/v1/files/{file_id}/contentri   rj   rk   )rn   Ú_getr   r)   r   rp   s   &&$$$$r6   ÚdownloadÚFiles.downloadš   sh   € ÷2 ÜÐUÐV]ÑU`ÐaÓbÐbØ!Ð#7ÐQ¸M×<OÐ<OÈRÐQˆØ�y‰yÜÐ7ÀÔIÜ(Ø+ÐQ[ôô &ð ó 
ð 	
r9   c               ó0   € V ^8„  d   QhRRRRRRRRR	R
RR/# ©r1   rb   rc   rI   rQ   rJ   rR   rK   rS   rL   rT   r2   r+   r4   )r5   s   "r6   r7   r8   ¾   óF   € ÷ !
ñ !
àð!
ð &ð!
ð "ð!
ð  ð!
ð 9ð!
ð 
ñ!
r9   c          
     óŒ   € V'       g   \        RV: 24      hV P                  \        RVR7      \        W#WER7      \        R7      # )á)  
Get File Metadata

Args:
  file_id: ID of the File.

  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
rg   rh   ri   rj   rk   ©rn   ry   r   r)   r+   rp   s   &&$$$$r6   Úretrieve_metadataÚFiles.retrieve_metadata¾   sP   € ÷2 ÜÐUÐV]ÑU`ÐaÓbÐbØ�y‰yÜÐ/¸ÔAÜ(Ø+ÐQ[ôô !ð ó 
ð 	
r9   Úexpires_in_secondsc               ó4   € V ^8„  d   QhRRRRRRRRR	R
RRRR/# ©r1   Úfiler   r„   rO   rI   rQ   rJ   rR   rK   rS   rL   rT   r2   r+   r4   )r5   s   "r6   r7   r8   á   óR   € ÷ 2
ñ 2
ð ð2
ð 'ð	2
ð &ð2
ð "ð2
ð  ð2
ð 9ð2
ð 
ñ2
r9   c               óZ  € \        \        V4      T;'       g    / 4      p\        RVRV/R..4      p\        \	        \
        \        \        3,          V4      R..R7      pRR/T;'       g    / CpV P                  R\        V\        P                  4      V\        W4WVR7      \        R7      # )	áÔ  
Upload File

Args:
  file: The file to upload

  expires_in_seconds: Seconds from upload until the file expires and its bytes become permanently
      unavailable. Must be between 3600 (one hour) and 7776000 (ninety days).

  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
r‡   r„   ©ÚpathsúContent-Typeúmultipart/form-datarW   rj   ©ÚbodyÚfilesrY   rl   )r(   Ú"_stainless_helper_header_from_filer
   r   r   r   rc   ÚobjectÚ_postr   r	   ÚFileUploadParamsr)   r+   ©	r=   r‡   r„   rI   rJ   rK   rL   r�   r‘   s	   &$$$$$$  r6   ÚuploadÚFiles.uploadá   sÀ   € ô: &Ô&HÈÓ&NÐP]×PcÐPcÐacÓdˆÜ"à˜Ø$Ð&8ðð ˆXˆJó
ˆô œd¤7¬3´¨;Õ#7¸Ó>ÈÀxÀjÔQˆð (Ð)>ÐXÀ=×CVÐCVÐTVÐXˆØ�z‰zØÜ  Ô'9×'JÑ'JÓKØÜ(Ø+ÐQ[ôô !ð ó 
ð 	
r9   r4   ©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   r>   rD   r   r   r^   rq   rz   r‚   r—   Ú__static_attributes__r4   r9   r6   r-   r-   )   s?  † Øô*ó ð*ð ô0ó ð0ð8
ð 59ð8
ð !ð	8
ð
 &*ð8
ð )-ð8
ð %)ð8
ð #'ð8
ð <E÷8
ðt!
ð )-ð!
ð %)ð!
ð #'ð!
ð <E÷!
ðF"
ð )-ð"
ð %)ð"
ð #'ð"
ð <E÷"
ðH!
ð )-ð!
ð %)ð!
ð #'ð!
ð <E÷!
ðF2
ð *.ð	2
ð )-ð2
ð %)ð2
ð #'ð2
ð <E÷2
ó 2
r9   c                  óò   € ] tR tRt]R R l4       t]R R l4       tR]R]R]R	R
RR
RR
R]/R R llt	R	R
RR
RR
R]/R R llt
R	R
RR
RR
R]/R R lltR	R
RR
RR
R]/R R lltR]R	R
RR
RR
R]/R R lltRtR
# )r.   i  c               ó   € V ^8„  d   QhRR/# )r1   r2   ÚAsyncFilesWithRawResponser4   )r5   s   "r6   r7   ÚAsyncFiles.__annotate__  s   € ÷ /ñ /Ð#<ñ /r9   c                ó   € \        V 4      # r;   )r¡   r<   s   &r6   r>   ÚAsyncFiles.with_raw_response  s   € ô )¨Ó.Ð.r9   c               ó   € V ^8„  d   QhRR/# )r1   r2   ÚAsyncFilesWithStreamingResponser4   )r5   s   "r6   r7   r¢   "  s   € ÷ 5ñ 5Ð)Hñ 5r9   c                ó   € \        V 4      # rC   )r¦   r<   s   &r6   rD   Ú"AsyncFiles.with_streaming_response!  s   € ô /¨tÓ4Ð4r9   rF   rG   rH   rI   NrJ   rK   rL   c               ó8   € V ^8„  d   QhRRRRRRRRR	R
RRRRRR/# )r1   rF   rN   rG   rO   rH   rP   rI   rQ   rJ   rR   rK   rS   rL   rT   r2   z;AsyncPaginator[FileMetadata, AsyncPageCursor[FileMetadata]]r4   )r5   s   "r6   r7   r¢   *  s]   € ÷ 8
ñ 8
ð 2ð8
ð ð	8
ð
 #ð8
ð &ð8
ð "ð8
ð  ð8
ð 9ð8
ð 
Eñ8
r9   c               óª   € V P                  R\        \        ,          \        VVVV\	        RVRVRV/\
        P                  4      R7      \        R7      # rV   )r[   r&   r+   r)   r   r   r\   r]   s   &$$$$$$$r6   r^   ÚAsyncFiles.list*  sh   € ðL ×!Ñ!ØÜ ¤Õ.Ü(Ø+Ø'Ø%ØÜ%à˜sØ Ø ðô
 %×3Ñ3óôô ð# "ó 
ð 	
r9   c               ó0   € V ^8„  d   QhRRRRRRRRR	R
RR/# ra   r4   )r5   s   "r6   r7   r¢   d  rd   r9   c          
   ƒ  ó¨   "  € V'       g   \        RV: 24      hV P                  \        RVR7      \        W#WER7      \        R7      G Rj  x€L
 #  L5i)rf   rg   rh   ri   rj   rk   Nrm   rp   s   &&$$$$r6   rq   ÚAsyncFiles.deleted  s]   é € ÷2 ÜÐUÐV]ÑU`ÐaÓbÐbØ—\‘\ÜÐ/¸ÔAÜ(Ø+ÐQ[ôô  ð "ó 
÷ 
ð 	
ñ 
ùó   ‚A	AÁAÁAc               ó0   € V ^8„  d   QhRRRRRRRRR	R
RR/# )r1   rb   rc   rI   rQ   rJ   rR   rK   rS   rL   rT   r2   r   r4   )r5   s   "r6   r7   r¢   ‡  sF   € ÷ "
ñ "
àð"
ð &ð"
ð "ð"
ð  ð"
ð 9ð"
ð 
 ñ"
r9   c          
   ƒ  óÈ   "  € V'       g   \        RV: 24      hRR/T;'       g    / CpV P                  \        RVR7      \        W#WER7      \        R7      G Rj  x€L
 #  L5i)	ru   rg   rv   rw   rx   ri   rj   rk   N)rn   ry   r   r)   r   rp   s   &&$$$$r6   rz   ÚAsyncFiles.download‡  su   é € ÷2 ÜÐUÐV]ÑU`ÐaÓbÐbØ!Ð#7ÐQ¸M×<OÐ<OÈRÐQˆØ—Y‘YÜÐ7ÀÔIÜ(Ø+ÐQ[ôô +ð ó 
÷ 
ð 	
ñ 
ùs   ‚#A"¦5A"ÁA ÁA"c               ó0   € V ^8„  d   QhRRRRRRRRR	R
RR/# r}   r4   )r5   s   "r6   r7   r¢   «  r~   r9   c          
   ƒ  ó¨   "  € V'       g   \        RV: 24      hV P                  \        RVR7      \        W#WER7      \        R7      G Rj  x€L
 #  L5i)r€   rg   rh   ri   rj   rk   Nr�   rp   s   &&$$$$r6   r‚   ÚAsyncFiles.retrieve_metadata«  s]   é € ÷2 ÜÐUÐV]ÑU`ÐaÓbÐbØ—Y‘YÜÐ/¸ÔAÜ(Ø+ÐQ[ôô !ð ó 
÷ 
ð 	
ñ 
ùr¯   r„   c               ó4   € V ^8„  d   QhRRRRRRRRR	R
RRRR/# r†   r4   )r5   s   "r6   r7   r¢   Î  rˆ   r9   c             ƒ  óŠ  "  € \        \        V4      T;'       g    / 4      p\        RVRV/R..4      p\        \	        \
        \        \        3,          V4      R..R7      pRR/T;'       g    / CpT P                  R\        V\        P                  4      G Rj  x€L
 V\        W4WVR7      \        R	7      G Rj  x€L
 #  L# L5i)
rŠ   r‡   r„   r‹   r�   rŽ   rW   Nrj   r�   )r(   r’   r
   r   r   r   rc   r“   r”   r   r	   r•   r)   r+   r–   s	   &$$$$$$  r6   r—   ÚAsyncFiles.uploadÎ  sÓ   é € ô: &Ô&HÈÓ&NÐP]×PcÐPcÐacÓdˆÜ"à˜Ø$Ð&8ðð ˆXˆJó
ˆô œd¤7¬3´¨;Õ#7¸Ó>ÈÀxÀjÔQˆð (Ð)>ÐXÀ=×CVÐCVÐTVÐXˆØ—Z‘ZØÜ,¨TÔ3E×3VÑ3VÓW×WØÜ(Ø+ÐQ[ôô !ð  ó 
÷ 
ð 	
áWñ
ùs$   ‚BCÂB?
ÂCÂ:CÂ;CÃCr4   r™   r4   r9   r6   r.   r.     s?  † Øô/ó ð/ð ô5ó ð5ð8
ð 59ð8
ð !ð	8
ð
 &*ð8
ð )-ð8
ð %)ð8
ð #'ð8
ð <E÷8
ðt!
ð )-ð!
ð %)ð!
ð #'ð!
ð <E÷!
ðF"
ð )-ð"
ð %)ð"
ð #'ð"
ð <E÷"
ðH!
ð )-ð!
ð %)ð!
ð #'ð!
ð <E÷!
ðF2
ð *.ð	2
ð )-ð2
ð %)ð2
ð #'ð2
ð <E÷2
ó 2
r9   c                  ó"   € ] tR tRtR R ltRtR# )r3   i  c               ó    € V ^8„  d   QhRRRR/# ©r1   r‘   r-   r2   ÚNoner4   )r5   s   "r6   r7   Ú!FilesWithRawResponse.__annotate__  ó   € ÷ 
ñ 
˜eð 
¨ñ 
r9   c                	óx  € Wn         \        P                  ! VP                  4      V n        \        P                  ! VP                  4      V n        \        VP                  \        4      V n        \        P                  ! VP                  4      V n        \        P                  ! VP                  4      V n	        R # ©N)
Ú_filesr   Úto_raw_response_wrapperr^   rq   r    rz   r   r‚   r—   ©r=   r‘   s   &&r6   Ú__init__ÚFilesWithRawResponse.__init__  sŒ   € ØŒä$×<Ò<Ø�J‰Jó
ˆŒ	ô '×>Ò>Ø�L‰Ló
ˆŒô 7Ø�N‰NÜó
ˆŒô "2×!IÒ!IØ×#Ñ#ó"
ˆÔô '×>Ò>Ø�L‰Ló
ˆŽr9   ©rÁ   rq   rz   r^   r‚   r—   N©rš   r›   rœ   r�   rÄ   rž   r4   r9   r6   r3   r3     ó   † ÷
ñ 
r9   r3   c                  ó"   € ] tR tRtR R ltRtR# )r¡   i  c               ó    € V ^8„  d   QhRRRR/# ©r1   r‘   r.   r2   r¼   r4   )r5   s   "r6   r7   Ú&AsyncFilesWithRawResponse.__annotate__  ó   € ÷ 
ñ 
˜jð 
¨Tñ 
r9   c                	óx  € Wn         \        P                  ! VP                  4      V n        \        P                  ! VP                  4      V n        \        VP                  \        4      V n        \        P                  ! VP                  4      V n        \        P                  ! VP                  4      V n	        R # rÀ   )
rÁ   r   Úasync_to_raw_response_wrapperr^   rq   r#   rz   r   r‚   r—   rÃ   s   &&r6   rÄ   Ú"AsyncFilesWithRawResponse.__init__  sŒ   € ØŒä$×BÒBØ�J‰Jó
ˆŒ	ô '×DÒDØ�L‰Ló
ˆŒô =Ø�N‰NÜ"ó
ˆŒô "2×!OÒ!OØ×#Ñ#ó"
ˆÔô '×DÒDØ�L‰Ló
ˆŽr9   rÆ   NrÇ   r4   r9   r6   r¡   r¡     rÈ   r9   r¡   c                  ó"   € ] tR tRtR R ltRtR# )rA   i/  c               ó    € V ^8„  d   QhRRRR/# r»   r4   )r5   s   "r6   r7   Ú'FilesWithStreamingResponse.__annotate__0  r¾   r9   c                	ó   € Wn         \        VP                  4      V n        \        VP                  4      V n        \	        VP
                  \        4      V n        \        VP                  4      V n        \        VP                  4      V n        R # rÀ   )	rÁ   r   r^   rq   r"   rz   r   r‚   r—   rÃ   s   &&r6   rÄ   Ú#FilesWithStreamingResponse.__init__0  st   € ØŒä0Ø�J‰Jó
ˆŒ	ô 3Ø�L‰Ló
ˆŒô <Ø�N‰NÜ%ó
ˆŒô ">Ø×#Ñ#ó"
ˆÔô 3Ø�L‰Ló
ˆŽr9   rÆ   NrÇ   r4   r9   r6   rA   rA   /  rÈ   r9   rA   c                  ó"   € ] tR tRtR R ltRtR# )r¦   iE  c               ó    € V ^8„  d   QhRRRR/# rË   r4   )r5   s   "r6   r7   Ú,AsyncFilesWithStreamingResponse.__annotate__F  rÍ   r9   c                	ó   € Wn         \        VP                  4      V n        \        VP                  4      V n        \	        VP
                  \        4      V n        \        VP                  4      V n        \        VP                  4      V n        R # rÀ   )	rÁ   r!   r^   rq   r$   rz   r   r‚   r—   rÃ   s   &&r6   rÄ   Ú(AsyncFilesWithStreamingResponse.__init__F  sv   € ØŒä6Ø�J‰Jó
ˆŒ	ô 9Ø�L‰Ló
ˆŒô BØ�N‰NÜ*ó
ˆŒô "DØ×#Ñ#ó"
ˆÔô 9Ø�L‰Ló
ˆŽr9   rÆ   NrÇ   r4   r9   r6   r¦   r¦   E  rÈ   r9   r¦   )BÚ
__future__r   Útypingr   r   r   ÚhttpxÚ r   Útypesr   r	   rÁ   r
   Ú_typesr   r   r   r   r   r   r   r   r   Ú_utilsr   r   r   r   Ú_compatr   Ú	_resourcer   r   Ú	_responser   r   r   r   r   r    r!   r"   r#   r$   Ú
paginationr%   r&   Ú_base_clientr'   r(   r)   Útypes.deleted_filer*   Útypes.file_metadatar+   Úlib._stainless_helpersr,   r’   Ú__all__r-   r.   r3   r¡   rA   r¦   r4   r9   r6   Ú<module>rë      s«   ðõ #ç *Ñ *ã å ß 8Ý (ß e× eÕ eß YÓ YÝ %ß 9÷÷ ÷ ÷ 9÷ñ õ
 -Ý .Ý là�LÐ
!€ôj
ˆOô j
ôZj
Ð!ô j
÷Z
ñ 
÷,
ñ 
÷,
ñ 
÷,
ó 
r9   