
    hj?                     j   U d dl Z ddlmZ ddlmZ ddlmZ  ej        ej        dd	i
          Z ej        ej        dd	i
          Z	 ej
        ddde           ej
        ddde	          gZeej
                 ed<    ej        e e            de          Ze j        j        d             ZdS )    N   )types   )pytest_helper   )	constantsttl7600snameconfigz-Update has permission issues in the API mode.)test_caches_update_with_vertex_cache_namePERMISSION_DENIED)skip_in_api_moder   exception_if_mldev
parameters(test_caches_update_with_mldev_cache_name	NOT_FOUND)r   r   exception_if_vertexr   
test_tablezcaches.update)fileglobals_for_filetest_methodr   c                   K   | j         j        rA| j        j                            t
          j        t
          j                   d {V }|sJ d S | j        j                            t          j        t          j                   d {V  d S )Nr   )	_api_clientvertexaiaiocachesupdate_VERTEX_UPDATE_PARAMETERSr   r   _MLDEV_UPDATE_PARAMETERS)clientresponses     i/var/www/app.qaans.com/backend/venv/lib/python3.11/site-packages/google/genai/tests/caches/test_update.pytest_async_updater%   :   s        
Z&--&+(/ .        H OOOOO
*

"
"%*'. #               )pytest r   r   r   _UpdateCachedContentParametersCACHED_CONTENT_NAME_VERTEXr    CACHED_CONTENT_NAME_MLDEVr!   TestTableItemr   list__annotations__setup__file__globals
pytestmarkmarkasyncior%    r&   r$   <module>r6      sa  "                   @E@		-w    @5?		,w     MH8.,	    MH7'+	  1
D,-    !] 	WYY	  
     r&   