Skip to content

Commit 2e4ff86

Browse files
committed
fix(client): run formatter
1 parent ad56677 commit 2e4ff86

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/anthropic/_base_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@
8989
APIConnectionError,
9090
APIResponseValidationError,
9191
)
92-
from ._utils._httpx import get_environment_proxies
9392
from ._utils._json import openapi_dumps
93+
from ._utils._httpx import get_environment_proxies
9494
from ._legacy_response import LegacyAPIResponse
9595

9696
log: logging.Logger = logging.getLogger(__name__)

src/anthropic/types/messages/batch_create_params.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ class BatchCreateParams(TypedDict, total=False):
1818
"""
1919

2020

21-
2221
class Request(TypedDict, total=False):
2322
custom_id: Required[str]
2423
"""Developer-provided ID created for each request in a Message Batch.

tests/api_resources/beta/test_output_format_conversion.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def test_stream_converts_output_format_to_output_config(self, client: Anthropic,
122122
messages=[{"role": "user", "content": "Test"}],
123123
model="claude-sonnet-4-5",
124124
output_format={"type": "json_schema", "schema": {"type": "string"}},
125-
) as stream: # type: ignore
125+
) as stream: # type: ignore
126126
pass
127127

128128
request = respx_mock.calls.last.request
@@ -239,7 +239,7 @@ def test_stream_emits_deprecation_warning(self, client: Anthropic, respx_mock: M
239239
messages=[{"role": "user", "content": "Test"}],
240240
model="claude-sonnet-4-5",
241241
output_format={"type": "json_schema", "schema": {"type": "string"}},
242-
) as stream: # type: ignore
242+
) as stream: # type: ignore
243243
pass
244244

245245
def test_count_tokens_emits_deprecation_warning(self, client: Anthropic, respx_mock: MockRouter) -> None:

0 commit comments

Comments
 (0)