mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-15 14:36:54 +00:00
ruff: add bugbear across packages (#31917)
WIP, other packages will get in next PRs
This commit is contained in:
@@ -1210,6 +1210,5 @@ def test_search_result_top_level() -> None:
|
||||
|
||||
def test_async_shared_client() -> None:
|
||||
llm = ChatAnthropic(model="claude-3-5-haiku-latest")
|
||||
llm._async_client # Instantiates lazily
|
||||
_ = asyncio.run(llm.ainvoke("Hello"))
|
||||
_ = asyncio.run(llm.ainvoke("Hello"))
|
||||
|
Reference in New Issue
Block a user