
    hj                     x   U d Z ddlZddlmZ ddlmZ dZ ej        d ej        d	d
dii          d           ej        d ej        d
didedgdddd          d           ej        d ej        d
dideddddidd          d           ej        d ej        d
didedgdddg d          d           ej        d ej        d
didedgddddgd          d           ej        d ej        d
didedgddddgd          d           ej        d  ej        d
didgd!          d           ej        d" ej        d
didgi d#          d          gZe	ej                 e
d$<    ej        e e            d%e&          gZej        j        d'             ZdS )(zTests for tokens.create().    N   )types   )pytest_helperz$models/gemini-live-2.5-flash-previewtest_create_no_lockhttp_optionsapi_versionv1alphaconfigz-only supported in the Gemini Developer client)name
parametersexception_if_vertextest_create_global_lockTEXTgffffff?)response_modalitiestemperature)modelr   )r   useslive_connect_constraints-test_create_with_streaming_translation_configtranslation_configesT)target_language_codeecho_target_language test_create_lock_non_null_fields)r   r   r   lock_additional_fields(test_create_lock_unset_fields_as_defaultoutput_audio_transcription"test_create_lock_additional_fieldstop_ktest_create_lock_with_no_params)r   r   "test_create_lock_with_empty_params)r   r   r   
test_tablezauth_tokens.create)fileglobals_for_filetest_methodr$   c                   K   t          j        | t                    5  t          j        t          j        d                    }| j        j                            |           d {V }d d d            d S # 1 swxY w Y   d S )Nr
   )r	   )r   r   )	r   r   
ValueErrorr   CreateAuthTokenConfigHttpOptionsaioauth_tokenscreate)clientr   tokens      i/var/www/app.qaans.com/backend/venv/lib/python3.11/site-packages/google/genai/tests/tokens/test_create.pytest_async_create_no_lockr2      s      (<< ? ?(&9===  F *(//v/>>>>>>>>E	? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?s   AA99A= A=)__doc__pytest r   r   _MODELTestTableItemCreateAuthTokenParametersr$   list__annotations__setup__file__globals
pytestmarkmarkasyncior2        r1   <module>rC      s  " !                  
0
  M"252"]I$>?
 
 
 L    M&252 "/	 :#06x'* - -
 

 
 
 L!  $  M<252!.	 :#,4848/ /- - 
 
 
 L#  &  M/252 "/	 :#06x'* - - +- 
 
 
 L#  &  M7252 "/	 :#06x'* - - ,H*H 
 
 
 L#  &  M1252 "/	 :#06x'* - - ,3) 
 
 
 L#  &  M.252 "/	 :+G*H 
 
 
 L
 
 
  M1252 "/	 :+G*H,. 
 
 
 L  e~1
D,- ~ ~ ~B M (	  
 ? ? ? ? ?rB   