Skip to content

Commit c4f54a0

Browse files
committed
Fixed up details broken in rebase
1 parent 2986e26 commit c4f54a0

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

libs/langchain-mongodb/tests/integration_tests/test_graphrag.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
from __future__ import annotations
22

33
import os
4-
from typing import TYPE_CHECKING, Generator
4+
from typing import Generator
55

66
import pytest
77
from langchain_core.documents import Document
88
from langchain_core.language_models.chat_models import BaseChatModel
9+
from langchain_core.messages import AIMessage
910
from langchain_openai import AzureChatOpenAI, ChatOpenAI
1011
from pymongo import MongoClient
1112
from pymongo.collection import Collection
@@ -16,10 +17,6 @@
1617

1718
from ..utils import CONNECTION_STRING, DB_NAME
1819

19-
if TYPE_CHECKING:
20-
pass
21-
22-
2320
COLLECTION_NAME = "langchain_test_graphrag"
2421

2522

@@ -335,7 +332,7 @@ def test_view(graph_store):
335332
To run: `pytest -m viz`
336333
"""
337334
try:
338-
import holoviews as hv
335+
import holoviews as hv # type: ignore
339336
except ImportError:
340337
pytest.skip("This test requires optional-dependency `viz`")
341338

0 commit comments

Comments
 (0)