mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-30 19:49:09 +00:00
fix integration deps (#9722)
This commit is contained in:
parent
a0800c9f15
commit
0f48e6c36e
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user