
    ~i                       d dl mZ d dlmZmZ d dlZddl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 dd	lmZ dd
lmZmZ ddlmZ ddgZ G d de          Z G d de          Z G d d          Z G d d          ZdS )    )annotations)ListUnionN   )BodyQueryHeaders)cached_property)SyncAPIResourceAsyncAPIResource)to_raw_response_wrapperasync_to_raw_response_wrapper)make_request_options)with_sts_tokenasync_with_sts_token)CreateTokenizationResponseTokenizationAsyncTokenizationc                  L    e Zd Zedd            Zedddddddd            ZdS )r   returnTokenizationWithRawResponsec                     t          |           S N)r   selfs    w/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkarkruntime/resources/tokenization.pywith_raw_responsezTokenization.with_raw_response    s    *4000    Nuserextra_headersextra_query
extra_bodytimeouttextUnion[str, List[str]]modelstrr    
str | Noner!   Headers | Noner"   Query | Noner#   Body | Noner$   float | httpx.Timeout | Noner   c          
     h    |                      d|||dt          ||||          t                    S Nz/tokenization)r%   r'   r    )r!   r"   r#   r$   )bodyoptionscast_to_postr   r   r   r%   r'   r    r!   r"   r#   r$   s           r   createzTokenization.create$   sZ     zz 
 )+'%	   /  
 
 	
r   )r   r   r%   r&   r'   r(   r    r)   r!   r*   r"   r+   r#   r,   r$   r-   r   r   )__name__
__module____qualname__r
   r   r   r6    r   r   r   r      so        1 1 1 _1    )-$("&04
 
 
 
 
 ^
 
 
r   c                  L    e Zd Zedd            Zedddddddd            ZdS )r   r    AsyncTokenizationWithRawResponsec                     t          |           S r   )r=   r   s    r   r   z#AsyncTokenization.with_raw_responseD   s    /555r   Nr   r%   r&   r'   r(   r    r)   r!   r*   r"   r+   r#   r,   r$   r-   r   c          
     x   K   |                      d|||dt          ||||          t                     d {V S r/   r3   r5   s           r   r6   zAsyncTokenization.createH   s|       ZZ 
 )+'%	   /   
 
 
 
 
 
 
 
 	
r   )r   r=   r7   )r8   r9   r:   r
   r   r   r6   r;   r   r   r   r   C   sp        6 6 6 _6    )-$("&04
 
 
 
 
 
 
 
r   c                      e Zd ZddZdS )r   tokenizationr   r   Nonec                F    || _         t          |j                  | _        d S r   )_tokenizationr   r6   r   rA   s     r   __init__z$TokenizationWithRawResponse.__init__h   s%    )-
 
r   N)rA   r   r   rB   r8   r9   r:   rF   r;   r   r   r   r   g   (        
 
 
 
 
 
r   r   c                      e Zd ZddZdS )r=   rA   r   r   rB   c                F    || _         t          |j                  | _        d S r   )rD   r   r6   rE   s     r   rF   z)AsyncTokenizationWithRawResponse.__init__q   s%    )3
 
r   N)rA   r   r   rB   rG   r;   r   r   r=   r=   p   rH   r   r=   )
__future__r   typingr   r   httpx_typesr   r   r	   _compatr
   	_resourcer   r   	_responser   r   _base_clientr   _utils._utilsr   r   "types.create_tokenization_responser   __all__r   r   r   r=   r;   r   r   <module>rV      s   # " " " " "          ) ) ) ) ) ) ) ) ) ) % % % % % % 9 9 9 9 9 9 9 9 N N N N N N N N      A @ @ @ @ @ @ @ K K K K K K.
/!
 !
 !
 !
 !
? !
 !
 !
H!
 !
 !
 !
 !
( !
 !
 !
H
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
r   