Skip to content

Commit

Permalink
Lint files
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheepsta300 committed Oct 8, 2024
1 parent 15b137d commit 372a5d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/docs/integrations/tools/azure_ai_face.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"source": [
"from langchain.agents import AgentExecutor, create_structured_chat_agent\n",
"from langchain_community.tools.azure_ai_services.face_analysis import (\n",
" AzureAIFaceAnalysisTool\n",
" AzureAIFaceAnalysisTool,\n",
")\n",
"from langchain_openai import AzureChatOpenAI"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ def test_faces_detected(mocker: Any) -> None:
key = "key"
endpoint = "endpoint"

mocker.patch("azure.ai.vision.face.FaceClient", autospec=True)
mocker.patch("azure.core.credentials.AzureKeyCredential", autospec=True)
mocker.patch("azure.ai.contentsafety.ContentSafetyClient", autospec=True)
tool = AzureAIFaceAnalysisTool(
azure_ai_face_key=key, azure_ai_face_endpoint=endpoint
)
Expand All @@ -61,8 +61,8 @@ def test_no_faces_detected(mocker: Any) -> None:
key = "key"
endpoint = "endpoint"

mocker.patch("azure.ai.vision.face.FaceClient", autospec=True)
mocker.patch("azure.core.credentials.AzureKeyCredential", autospec=True)
mocker.patch("azure.ai.contentsafety.ContentSafetyClient", autospec=True)
tool = AzureAIFaceAnalysisTool(
azure_ai_face_key=key, azure_ai_face_endpoint=endpoint
)
Expand Down

0 comments on commit 372a5d2

Please sign in to comment.