diff --git a/libs/vertexai/langchain_google_vertexai/vectorstores/vectorstores.py b/libs/vertexai/langchain_google_vertexai/vectorstores/vectorstores.py index e54855b0..780f2d16 100644 --- a/libs/vertexai/langchain_google_vertexai/vectorstores/vectorstores.py +++ b/libs/vertexai/langchain_google_vertexai/vectorstores/vectorstores.py @@ -333,7 +333,7 @@ def from_components( credentials_path: Optional[str] = None, embedding: Optional[Embeddings] = None, stream_update: bool = False, - datastore_client_kwargs: Dict[str, Any] | None = None, + datastore_client_kwargs: Optional[Dict[str, Any]] = None, datastore_kind: str = "document_id", datastore_text_property_name: str = "text", datastore_metadata_property_name: str = "metadata",