Skip to content

Commit ea58fd8

Browse files
fix(vector_io): align Protocol signatures with request models
1 parent 17a2705 commit ea58fd8

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 108
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-86691b53475e783b25b6efea9ddc93bf8aafd62c1760b8ad7c0cc1e06d22a5a1.yml
3-
openapi_spec_hash: 47488d835df701e5ca3c27763346024a
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-8b51d3973d2f51c91cf9ca3e4d40fd78ae92ffb1063308828c245f7e3d7ec813.yml
3+
openapi_spec_hash: cb486698ac88370772a873d1fef90968
44
config_hash: 07e70c7f1980785685ea4f2618dfde62

tests/api_resources/test_vector_stores.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def test_method_list_with_all_params(self, client: LlamaStackClient) -> None:
160160
vector_store = client.vector_stores.list(
161161
after="after",
162162
before="before",
163-
limit=0,
163+
limit=1,
164164
order="order",
165165
)
166166
assert_matches_type(SyncOpenAICursorPage[VectorStore], vector_store, path=["response"])
@@ -423,7 +423,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncLlamaStackCl
423423
vector_store = await async_client.vector_stores.list(
424424
after="after",
425425
before="before",
426-
limit=0,
426+
limit=1,
427427
order="order",
428428
)
429429
assert_matches_type(AsyncOpenAICursorPage[VectorStore], vector_store, path=["response"])

tests/api_resources/vector_stores/test_file_batches.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def test_method_list_files_with_all_params(self, client: LlamaStackClient) -> No
191191
after="after",
192192
before="before",
193193
filter="filter",
194-
limit=0,
194+
limit=1,
195195
order="order",
196196
)
197197
assert_matches_type(SyncOpenAICursorPage[VectorStoreFile], file_batch, path=["response"])
@@ -406,7 +406,7 @@ async def test_method_list_files_with_all_params(self, async_client: AsyncLlamaS
406406
after="after",
407407
before="before",
408408
filter="filter",
409-
limit=0,
409+
limit=1,
410410
order="order",
411411
)
412412
assert_matches_type(AsyncOpenAICursorPage[VectorStoreFile], file_batch, path=["response"])

tests/api_resources/vector_stores/test_files.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def test_method_list_with_all_params(self, client: LlamaStackClient) -> None:
195195
after="after",
196196
before="before",
197197
filter="completed",
198-
limit=0,
198+
limit=1,
199199
order="order",
200200
)
201201
assert_matches_type(SyncOpenAICursorPage[VectorStoreFile], file, path=["response"])
@@ -510,7 +510,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncLlamaStackCl
510510
after="after",
511511
before="before",
512512
filter="completed",
513-
limit=0,
513+
limit=1,
514514
order="order",
515515
)
516516
assert_matches_type(AsyncOpenAICursorPage[VectorStoreFile], file, path=["response"])

0 commit comments

Comments
 (0)