mirror of
https://github.com/langchain-ai/langchain.git
synced 2026-10-15 06:09:21 +03:00
fix integration deps (#9722)
This commit is contained in:
1 parent
a0800c9f15
commit
0f48e6c36e
2 files changed
+3
-1
No files matched your search
@@ -1,3 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
import pytest
|
||||
|
||||
@@ -5,7 +5,6 @@ import uuid
|
||||
from typing import Generator, List, Union
|
||||
|
||||
import pytest
|
||||
from elasticsearch.helpers import BulkIndexError
|
||||
|
||||
from langchain.docstore.document import Document
|
||||
from langchain.vectorstores.elasticsearch import ElasticsearchStore
|
||||
@@ -585,6 +584,7 @@ class TestElasticsearch:
|
||||
caplog: pytest.LogCaptureFixture,
|
||||
) -> None:
|
||||
"""Test bulk exception logging is giving better hints."""
|
||||
from elasticsearch.helpers import BulkIndexError
|
||||
|
||||
docsearch = ElasticsearchStore(
|
||||
embedding=ConsistentFakeEmbeddings(),
|
||||
|
||||
Reference in new issue
Block a user