We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95040db commit 9ddcfd8Copy full SHA for 9ddcfd8
libs/langchain-mongodb/langchain_mongodb/graphrag/graph.py
@@ -23,8 +23,8 @@
23
if TYPE_CHECKING:
24
try:
25
from typing import TypeAlias # type:ignore[attr-defined] # Python 3.10+
26
- except ImportError:
27
- from typing_extensions import TypeAlias # Python 3.9 fallback
+ except ImportError: # Python 3.9 fallback # TODO Remove [PYTHON-5658]
+ from typing_extensions import TypeAlias
28
29
Entity: TypeAlias = Dict[str, Any]
30
"""Represents an Entity in the knowledge graph with specific schema. See .schema"""
0 commit comments