@@ -23,7 +23,7 @@ def set_verbose(value: bool) -> None: # noqa: FBT001
2323 value: The new value for the `verbose` global setting.
2424 """
2525 try :
26- import langchain # type: ignore[import]
26+ import langchain # type: ignore[import-not-found ]
2727
2828 # We're about to run some deprecated code, don't report warnings from it.
2929 # The user called the correct (non-deprecated) code path and shouldn't get
@@ -57,7 +57,7 @@ def get_verbose() -> bool:
5757 The value of the `verbose` global setting.
5858 """
5959 try :
60- import langchain # type: ignore[import]
60+ import langchain
6161
6262 # We're about to run some deprecated code, don't report warnings from it.
6363 # The user called the correct (non-deprecated) code path and shouldn't get
@@ -96,7 +96,7 @@ def set_debug(value: bool) -> None: # noqa: FBT001
9696 value: The new value for the `debug` global setting.
9797 """
9898 try :
99- import langchain # type: ignore[import]
99+ import langchain
100100
101101 # We're about to run some deprecated code, don't report warnings from it.
102102 # The user called the correct (non-deprecated) code path and shouldn't get
@@ -128,7 +128,7 @@ def get_debug() -> bool:
128128 The value of the `debug` global setting.
129129 """
130130 try :
131- import langchain # type: ignore[import]
131+ import langchain
132132
133133 # We're about to run some deprecated code, don't report warnings from it.
134134 # 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:
164164 value: The new LLM cache to use. If `None`, the LLM cache is disabled.
165165 """
166166 try :
167- import langchain # type: ignore[import]
167+ import langchain
168168
169169 # We're about to run some deprecated code, don't report warnings from it.
170170 # The user called the correct (non-deprecated) code path and shouldn't get
@@ -198,7 +198,7 @@ def get_llm_cache() -> "BaseCache":
198198 The value of the `llm_cache` global setting.
199199 """
200200 try :
201- import langchain # type: ignore[import]
201+ import langchain
202202
203203 # We're about to run some deprecated code, don't report warnings from it.
204204 # The user called the correct (non-deprecated) code path and shouldn't get
0 commit comments