Skip to content

Commit 74d43ed

Browse files
RobertCraigiestainless-app[bot]
authored andcommitted
fix(types): update some types to SequenceNotStr
1 parent 56baf2d commit 74d43ed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/openai/resources/vector_stores/file_batches.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def create_and_poll(
186186
self,
187187
vector_store_id: str,
188188
*,
189-
file_ids: List[str],
189+
file_ids: SequenceNotStr[str],
190190
poll_interval_ms: int | NotGiven = NOT_GIVEN,
191191
chunking_strategy: FileChunkingStrategyParam | NotGiven = NOT_GIVEN,
192192
) -> VectorStoreFileBatch:
@@ -320,7 +320,7 @@ def upload_and_poll(
320320
*,
321321
files: Iterable[FileTypes],
322322
max_concurrency: int = 5,
323-
file_ids: List[str] = [],
323+
file_ids: SequenceNotStr[str] = [],
324324
poll_interval_ms: int | NotGiven = NOT_GIVEN,
325325
chunking_strategy: FileChunkingStrategyParam | NotGiven = NOT_GIVEN,
326326
) -> VectorStoreFileBatch:
@@ -523,7 +523,7 @@ async def create_and_poll(
523523
self,
524524
vector_store_id: str,
525525
*,
526-
file_ids: List[str],
526+
file_ids: SequenceNotStr[str],
527527
poll_interval_ms: int | NotGiven = NOT_GIVEN,
528528
chunking_strategy: FileChunkingStrategyParam | NotGiven = NOT_GIVEN,
529529
) -> VectorStoreFileBatch:
@@ -657,7 +657,7 @@ async def upload_and_poll(
657657
*,
658658
files: Iterable[FileTypes],
659659
max_concurrency: int = 5,
660-
file_ids: List[str] = [],
660+
file_ids: SequenceNotStr[str] = [],
661661
poll_interval_ms: int | NotGiven = NOT_GIVEN,
662662
chunking_strategy: FileChunkingStrategyParam | NotGiven = NOT_GIVEN,
663663
) -> VectorStoreFileBatch:

0 commit comments

Comments
 (0)