test_azure_openai_embeddings_secrets() — langchain Function Reference
Architecture documentation for the test_azure_openai_embeddings_secrets() function in test_secrets.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 1845b167_4c62_6cd6_5468_025e4a6cede7["test_azure_openai_embeddings_secrets()"] 654b0dc2_a4de_700d_ff97_c27a5220678d["test_secrets.py"] 1845b167_4c62_6cd6_5468_025e4a6cede7 -->|defined in| 654b0dc2_a4de_700d_ff97_c27a5220678d style 1845b167_4c62_6cd6_5468_025e4a6cede7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/openai/tests/unit_tests/test_secrets.py lines 62–71
def test_azure_openai_embeddings_secrets() -> None:
o = AzureOpenAIEmbeddings( # type: ignore[call-arg]
openai_api_key="foo1",
azure_endpoint="endpoint",
azure_ad_token=AZURE_AD_TOKEN, # type: ignore[arg-type]
api_version="version",
)
s = str(o)
assert "foo1" not in s
assert "foo2" not in s
Domain
Subdomains
Source
Frequently Asked Questions
What does test_azure_openai_embeddings_secrets() do?
test_azure_openai_embeddings_secrets() is a function in the langchain codebase, defined in libs/partners/openai/tests/unit_tests/test_secrets.py.
Where is test_azure_openai_embeddings_secrets() defined?
test_azure_openai_embeddings_secrets() is defined in libs/partners/openai/tests/unit_tests/test_secrets.py at line 62.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free