test_initialization_with_base_url() — anthropic-sdk-python Function Reference
Architecture documentation for the test_initialization_with_base_url() function in test_azure.py from the anthropic-sdk-python codebase.
Entity Profile
Dependency Diagram
graph TD bbc2f980_8d7f_71e7_8249_f74eb23bfcbd["test_initialization_with_base_url()"] c9055898_f4e8_516f_40b3_e818e75c1549["TestAnthropicFoundry"] bbc2f980_8d7f_71e7_8249_f74eb23bfcbd -->|defined in| c9055898_f4e8_516f_40b3_e818e75c1549 style bbc2f980_8d7f_71e7_8249_f74eb23bfcbd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/lib/test_azure.py lines 20–27
def test_initialization_with_base_url(self) -> None:
"""Test client initialization with base_url instead of resource."""
client = AnthropicFoundry(
api_key="test-key",
base_url="https://example.services.ai.azure.com/anthropic/",
)
assert str(client.base_url) == "https://example.services.ai.azure.com/anthropic/"
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_initialization_with_base_url() do?
test_initialization_with_base_url() is a function in the anthropic-sdk-python codebase, defined in tests/lib/test_azure.py.
Where is test_initialization_with_base_url() defined?
test_initialization_with_base_url() is defined in tests/lib/test_azure.py at line 20.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free