Skip to content

Commit aa58a67

Browse files
committed
fix linting issues
1 parent ec23938 commit aa58a67

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

portkey_ai/api_resources/apis/vector_stores.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import json
22
from typing import Any, Dict, Iterable, List, Optional, Union
33
import typing
4+
from portkey_ai._vendor.openai.types.vector_stores import file_batch_create_params
45
from portkey_ai.api_resources.apis.api_resource import APIResource, AsyncAPIResource
56
from portkey_ai.api_resources.client import AsyncPortkey, Portkey
67
from portkey_ai.api_resources.types.shared_types import Metadata
@@ -311,7 +312,7 @@ def create(
311312
vector_store_id: str,
312313
*,
313314
file_ids: Union[List[str], Omit] = omit,
314-
files: Union[Iterable[FileTypes], Omit] = omit,
315+
files: Union[Iterable[file_batch_create_params.File], Omit] = omit,
315316
chunking_strategy: Union[Any, Omit] = omit,
316317
**kwargs,
317318
) -> VectorStoreFileBatch:
@@ -743,7 +744,7 @@ async def create(
743744
vector_store_id: str,
744745
*,
745746
file_ids: Union[List[str], Omit] = omit,
746-
files: Union[Iterable[FileTypes], Omit] = omit,
747+
files: Union[Iterable[file_batch_create_params.File], Omit] = omit,
747748
chunking_strategy: Union[Any, Omit] = omit,
748749
**kwargs,
749750
) -> VectorStoreFileBatch:

0 commit comments

Comments
 (0)