@@ -23,7 +23,7 @@ def set_verbose(value: bool) -> None:
23
23
value: The new value for the `verbose` global setting.
24
24
"""
25
25
try :
26
- import langchain # type: ignore[import]
26
+ import langchain # type: ignore[import-not-found ]
27
27
28
28
# We're about to run some deprecated code, don't report warnings from it.
29
29
# The user called the correct (non-deprecated) code path and shouldn't get
@@ -57,7 +57,7 @@ def get_verbose() -> bool:
57
57
The value of the `verbose` global setting.
58
58
"""
59
59
try :
60
- import langchain # type: ignore[import]
60
+ import langchain
61
61
62
62
# We're about to run some deprecated code, don't report warnings from it.
63
63
# The user called the correct (non-deprecated) code path and shouldn't get
@@ -96,7 +96,7 @@ def set_debug(value: bool) -> None:
96
96
value: The new value for the `debug` global setting.
97
97
"""
98
98
try :
99
- import langchain # type: ignore[import]
99
+ import langchain
100
100
101
101
# We're about to run some deprecated code, don't report warnings from it.
102
102
# The user called the correct (non-deprecated) code path and shouldn't get
@@ -128,7 +128,7 @@ def get_debug() -> bool:
128
128
The value of the `debug` global setting.
129
129
"""
130
130
try :
131
- import langchain # type: ignore[import]
131
+ import langchain
132
132
133
133
# We're about to run some deprecated code, don't report warnings from it.
134
134
# The user called the correct (non-deprecated) code path and shouldn't get
@@ -164,7 +164,7 @@ def set_llm_cache(value: Optional["BaseCache"]) -> None:
164
164
value: The new LLM cache to use. If `None`, the LLM cache is disabled.
165
165
"""
166
166
try :
167
- import langchain # type: ignore[import]
167
+ import langchain
168
168
169
169
# We're about to run some deprecated code, don't report warnings from it.
170
170
# The user called the correct (non-deprecated) code path and shouldn't get
@@ -198,7 +198,7 @@ def get_llm_cache() -> "BaseCache":
198
198
The value of the `llm_cache` global setting.
199
199
"""
200
200
try :
201
- import langchain # type: ignore[import]
201
+ import langchain
202
202
203
203
# We're about to run some deprecated code, don't report warnings from it.
204
204
# The user called the correct (non-deprecated) code path and shouldn't get
0 commit comments