mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-23 19:39:58 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user