File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 25
25
name = 'test_delete' ,
26
26
parameters = types ._DeleteFileParameters (name = 'files/1vx8znuf0yje' ),
27
27
exception_if_vertex = 'only supported in the Gemini Developer client' ,
28
+ skip_in_api_mode = (
29
+ 'The files have a TTL, they cannot be reliably retrieved for a long'
30
+ ' time.'
31
+ ),
28
32
),
29
33
]
30
34
39
43
@pytest .mark .asyncio
40
44
async def test_async (client ):
41
45
with pytest_helper .exception_if_vertex (client , ValueError ):
42
- file = await client .aio .files .get (name = 'files/vjvu9fwk2qj8' )
46
+ file = await client .aio .files .get (name = 'files/vjvu9fwk2qj8' )
Original file line number Diff line number Diff line change 25
25
name = 'test_get' ,
26
26
parameters = types ._GetFileParameters (name = 'files/vjvu9fwk2qj8' ),
27
27
exception_if_vertex = 'only supported in the Gemini Developer client' ,
28
+ skip_in_api_mode = (
29
+ 'The files have a TTL, they cannot be reliably retrieved for a long'
30
+ ' time.'
31
+ ),
28
32
),
29
33
]
30
34
You can’t perform that action at this time.
0 commit comments