mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-05 21:12:48 +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.embeddings.huggingface import HuggingFaceInferenceAPIEm
|
||||
|
||||
def test_hugginggface_inferenceapi_embedding_documents_init() -> None:
|
||||
"""Test huggingface embeddings."""
|
||||
embedding = HuggingFaceInferenceAPIEmbeddings(api_key="abcd123")
|
||||
embedding = HuggingFaceInferenceAPIEmbeddings(api_key="abcd123") # type: ignore[arg-type]
|
||||
assert "abcd123" not in repr(embedding)
|
||||
|
Reference in New Issue
Block a user