
    עi?                        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y)    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                 v  K   | j                   j                  rP| j                  j                  j	                  t
        j                  t
        j                         d {   }|sJ y | j                  j                  j	                  t        j                  t        j                         d {    y 7 U7 w)Nr   )	_api_clientvertexaiaiocachesupdate_VERTEX_UPDATE_PARAMETERSr   r   _MLDEV_UPDATE_PARAMETERS)clientresponses     f/sites/domain-asset-master/.venv/lib/python3.12/site-packages/google/genai/tests/caches/test_update.pytest_async_updater%   :   s       ZZ&&--&++(// .  H O8
**


"
"%**'.. #   s%   AB9B5 AB9/B70B97B9)pytest r   r   r   _UpdateCachedContentParametersCACHED_CONTENT_NAME_VERTEXr    CACHED_CONTENT_NAME_MLDEVr!   TestTableItemr   list__annotations__setup__file__globals
pytestmarkmarkasyncior%        r$   <module>r6      s   "    @E@@		-	-w  @5??		,	,w   MH8.,	  MH7'+	1
D,,-  !]  	Y	
  r5   