mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-13 21:47:12 +00:00
infra: add -p to mkdir in lint steps (#17013)
Previously, if this did not find a mypy cache then it wouldnt run this makes it always run adding mypy ignore comments with existing uncaught issues to unblock other prs --------- Co-authored-by: Erick Friis <erick@langchain.dev> Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
This commit is contained in:
@@ -339,7 +339,7 @@ class AzureSearch(VectorStore):
|
||||
# batching support if embedding function is an Embeddings object
|
||||
if isinstance(self.embedding_function, Embeddings):
|
||||
try:
|
||||
embeddings = self.embedding_function.embed_documents(texts)
|
||||
embeddings = self.embedding_function.embed_documents(texts) # type: ignore[arg-type]
|
||||
except NotImplementedError:
|
||||
embeddings = [self.embedding_function.embed_query(x) for x in texts]
|
||||
else:
|
||||
|
Reference in New Issue
Block a user