From a6e5f8f910289f675d28b9b72fddc1e565a5311b Mon Sep 17 00:00:00 2001 From: ddl-joyce-zhao Date: Mon, 4 Mar 2024 13:58:13 -0500 Subject: [PATCH] fixed the build error --- domino_data/vectordb.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/domino_data/vectordb.py b/domino_data/vectordb.py index de03151..d874279 100644 --- a/domino_data/vectordb.py +++ b/domino_data/vectordb.py @@ -1,3 +1,5 @@ +from typing import Dict + import os _import_error_message = ( @@ -61,7 +63,7 @@ def get_host_from_settings(self, index, variables=None, servers=None): return url.replace("https://", "http://") -def domino_pinecone3x_init_params(datasource_name: str) -> dict[str, str]: +def domino_pinecone3x_init_params(datasource_name: str) -> Dict[str, str]: """Wrap the parameters to initialize a Pinecone 3.x client Args: @@ -77,7 +79,7 @@ def domino_pinecone3x_init_params(datasource_name: str) -> dict[str, str]: } -def domino_pinecone3x_index_params(datasource_name: str, index_name: str) -> dict[str, str]: +def domino_pinecone3x_index_params(datasource_name: str, index_name: str) -> Dict[str, str]: """Wrap the parameters to target an index in the Pinecone 3.x client Args: