Skip to content

Commit

Permalink
fixed the build error
Browse files Browse the repository at this point in the history
  • Loading branch information
ddl-joyce-zhao committed Mar 4, 2024
1 parent 977c31b commit a6e5f8f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions domino_data/vectordb.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from typing import Dict

import os

_import_error_message = (
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit a6e5f8f

Please sign in to comment.