o
    i                  	   @   s   U d dl Z ddlmZ ddlmZ ddlmZ ejdd	d
ejejddejdddejejddejdddejdddgZ	e
ej ed< ejee de	dZe jjdd Zdd ZdS )    N   )types   )pytest_helper   )	constantsz(Get is not reproducible in the API mode.&test_caches_get_with_vertex_cache_namePERMISSION_DENIEDname)skip_in_api_moder   exception_if_mldev
parameters%test_caches_get_with_mldev_cache_name	NOT_FOUND)r   r   exception_if_vertexr   /test_caches_get_with_mldev_cache_name_partial_17cachedContents/o239k1gxzz0juy9wqstndhncr85krehehf551hqh
test_tablez
caches.get)fileglobals_for_filetest_methodr   c                    sJ   | j jr| jjjtjdI d H }|sJ d S | jjjtjdI d H  d S )Nr
   )_api_clientvertexaiaiocachesgetr   CACHED_CONTENT_NAME_VERTEXCACHED_CONTENT_NAME_MLDEV)clientresponse r!   `/home/ubuntu/transcripts/venv/lib/python3.10/site-packages/google/genai/tests/caches/test_get.pytest_async_get9   s   r#   c                 C   s   | j jr2| jjdd}|sJ | jjdd}|sJ | jjdd}|s%J | jjdd}|s0J d S | jjdd}|s=J | jjdd}|sHJ d S )NzNprojects/964831358985/locations/us-central1/cachedContents/2164089915711684608r
   z8locations/us-central1/cachedContents/2164089915711684608z"cachedContents/21640899157116846082164089915711684608r   (o239k1gxzz0juy9wqstndhncr85krehehf551hqh)r   r   r   r   )r   	response1	response2	response3	response4r!   r!   r"   !test_different_cache_name_formatsD   s2   r*   )pytest r   r   r   TestTableItem_GetCachedContentParametersr   r   r   list__annotations__setup__file__globals
pytestmarkmarkasyncior#   r*   r!   r!   r!   r"   <module>   sL   


