From 473f268fadc3cc7cc3474446f846d6b0fa20a6eb Mon Sep 17 00:00:00 2001 From: Aryan Motgi Date: Fri, 22 May 2026 17:41:39 -0700 Subject: [PATCH] docs: fix incorrect docstring in AsyncAnthropicFoundry.models The async client's models stub said 'Azure Anthropic client' while the sync AnthropicFoundry.models stub correctly says 'Anthropic Foundry client'. Align the async docstring with the sync one. --- src/anthropic/lib/foundry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/anthropic/lib/foundry.py b/src/anthropic/lib/foundry.py index fde5be54f..65272eb0a 100644 --- a/src/anthropic/lib/foundry.py +++ b/src/anthropic/lib/foundry.py @@ -363,7 +363,7 @@ def __init__( @cached_property @override def models(self) -> None: # type: ignore[override] - """Models endpoint is not supported for Azure Anthropic client.""" + """Models endpoint is not supported for Anthropic Foundry client.""" return None @cached_property