mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-16 23:13:31 +00:00
community[patch]: upgrade to recent version of mypy (#21616)
This PR upgrades community to a recent version of mypy. It inserts type: ignore on all existing failures.
This commit is contained in:
@@ -3,5 +3,5 @@ from langchain_community.utilities.tavily_search import TavilySearchAPIWrapper
|
||||
|
||||
def test_api_wrapper_api_key_not_visible() -> None:
|
||||
"""Test that an exception is raised if the API key is not present."""
|
||||
wrapper = TavilySearchAPIWrapper(tavily_api_key="abcd123")
|
||||
wrapper = TavilySearchAPIWrapper(tavily_api_key="abcd123") # type: ignore[arg-type]
|
||||
assert "abcd123" not in repr(wrapper)
|
||||
|
Reference in New Issue
Block a user