all: test 3.13 ci (#27197)

Co-authored-by: Bagatur <baskaryan@gmail.com>
Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
This commit is contained in:
Erick Friis
2024-10-25 12:56:58 -07:00
committed by GitHub
parent 06df15c9c0
commit 600b7bdd61
237 changed files with 3668 additions and 4656 deletions

View File

@@ -25,7 +25,7 @@ _MIN_BATCH_SIZE = 5
removal="1.0",
alternative_import="langchain_google_vertexai.VertexAIEmbeddings",
)
class VertexAIEmbeddings(_VertexAICommon, Embeddings):
class VertexAIEmbeddings(_VertexAICommon, Embeddings): # type: ignore[override]
"""Google Cloud VertexAI embedding models."""
# Instance context
@@ -163,7 +163,8 @@ class VertexAIEmbeddings(_VertexAICommon, Embeddings):
DeadlineExceeded,
]
retry_decorator = create_base_retry_decorator(
error_types=errors, max_retries=self.max_retries
error_types=errors, # type: ignore[arg-type]
max_retries=self.max_retries, # type: ignore[arg-type]
)
@retry_decorator