anthropic 0.57.0__py3-none-any.whl → 0.57.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
anthropic/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "anthropic"
4
- __version__ = "0.57.0" # x-release-please-version
4
+ __version__ = "0.57.1" # x-release-please-version
@@ -91,7 +91,7 @@ from .beta_web_search_result_block_param import BetaWebSearchResultBlockParam as
91
91
  from .beta_thinking_config_disabled_param import BetaThinkingConfigDisabledParam as BetaThinkingConfigDisabledParam
92
92
  from .beta_web_search_tool_20250305_param import BetaWebSearchTool20250305Param as BetaWebSearchTool20250305Param
93
93
  from .beta_citation_content_block_location import BetaCitationContentBlockLocation as BetaCitationContentBlockLocation
94
- from .beta_search_result_location_citation import BetaSearchResultLocationCitation as BetaSearchResultLocationCitation
94
+ from .beta_citation_search_result_location import BetaCitationSearchResultLocation as BetaCitationSearchResultLocation
95
95
  from .beta_tool_text_editor_20241022_param import BetaToolTextEditor20241022Param as BetaToolTextEditor20241022Param
96
96
  from .beta_tool_text_editor_20250124_param import BetaToolTextEditor20250124Param as BetaToolTextEditor20250124Param
97
97
  from .beta_tool_text_editor_20250429_param import BetaToolTextEditor20250429Param as BetaToolTextEditor20250429Param
@@ -130,12 +130,12 @@ from .beta_web_search_tool_result_block_content import (
130
130
  from .beta_citation_content_block_location_param import (
131
131
  BetaCitationContentBlockLocationParam as BetaCitationContentBlockLocationParam,
132
132
  )
133
+ from .beta_citation_search_result_location_param import (
134
+ BetaCitationSearchResultLocationParam as BetaCitationSearchResultLocationParam,
135
+ )
133
136
  from .beta_code_execution_tool_result_error_code import (
134
137
  BetaCodeExecutionToolResultErrorCode as BetaCodeExecutionToolResultErrorCode,
135
138
  )
136
- from .beta_search_result_location_citation_param import (
137
- BetaSearchResultLocationCitationParam as BetaSearchResultLocationCitationParam,
138
- )
139
139
  from .beta_code_execution_tool_result_block_param import (
140
140
  BetaCodeExecutionToolResultBlockParam as BetaCodeExecutionToolResultBlockParam,
141
141
  )
@@ -5,10 +5,10 @@ from typing_extensions import Literal
5
5
 
6
6
  from ..._models import BaseModel
7
7
 
8
- __all__ = ["BetaSearchResultLocationCitation"]
8
+ __all__ = ["BetaCitationSearchResultLocation"]
9
9
 
10
10
 
11
- class BetaSearchResultLocationCitation(BaseModel):
11
+ class BetaCitationSearchResultLocation(BaseModel):
12
12
  cited_text: str
13
13
 
14
14
  end_block_index: int
@@ -5,10 +5,10 @@ from __future__ import annotations
5
5
  from typing import Optional
6
6
  from typing_extensions import Literal, Required, TypedDict
7
7
 
8
- __all__ = ["BetaSearchResultLocationCitationParam"]
8
+ __all__ = ["BetaCitationSearchResultLocationParam"]
9
9
 
10
10
 
11
- class BetaSearchResultLocationCitationParam(TypedDict, total=False):
11
+ class BetaCitationSearchResultLocationParam(TypedDict, total=False):
12
12
  cited_text: Required[str]
13
13
 
14
14
  end_block_index: Required[int]
@@ -8,7 +8,7 @@ from ..._models import BaseModel
8
8
  from .beta_citation_char_location import BetaCitationCharLocation
9
9
  from .beta_citation_page_location import BetaCitationPageLocation
10
10
  from .beta_citation_content_block_location import BetaCitationContentBlockLocation
11
- from .beta_search_result_location_citation import BetaSearchResultLocationCitation
11
+ from .beta_citation_search_result_location import BetaCitationSearchResultLocation
12
12
  from .beta_citations_web_search_result_location import BetaCitationsWebSearchResultLocation
13
13
 
14
14
  __all__ = ["BetaCitationsDelta", "Citation"]
@@ -19,7 +19,7 @@ Citation: TypeAlias = Annotated[
19
19
  BetaCitationPageLocation,
20
20
  BetaCitationContentBlockLocation,
21
21
  BetaCitationsWebSearchResultLocation,
22
- BetaSearchResultLocationCitation,
22
+ BetaCitationSearchResultLocation,
23
23
  ],
24
24
  PropertyInfo(discriminator="type"),
25
25
  ]
@@ -7,7 +7,7 @@ from ..._utils import PropertyInfo
7
7
  from .beta_citation_char_location import BetaCitationCharLocation
8
8
  from .beta_citation_page_location import BetaCitationPageLocation
9
9
  from .beta_citation_content_block_location import BetaCitationContentBlockLocation
10
- from .beta_search_result_location_citation import BetaSearchResultLocationCitation
10
+ from .beta_citation_search_result_location import BetaCitationSearchResultLocation
11
11
  from .beta_citations_web_search_result_location import BetaCitationsWebSearchResultLocation
12
12
 
13
13
  __all__ = ["BetaTextCitation"]
@@ -18,7 +18,7 @@ BetaTextCitation: TypeAlias = Annotated[
18
18
  BetaCitationPageLocation,
19
19
  BetaCitationContentBlockLocation,
20
20
  BetaCitationsWebSearchResultLocation,
21
- BetaSearchResultLocationCitation,
21
+ BetaCitationSearchResultLocation,
22
22
  ],
23
23
  PropertyInfo(discriminator="type"),
24
24
  ]
@@ -8,7 +8,7 @@ from typing_extensions import TypeAlias
8
8
  from .beta_citation_char_location_param import BetaCitationCharLocationParam
9
9
  from .beta_citation_page_location_param import BetaCitationPageLocationParam
10
10
  from .beta_citation_content_block_location_param import BetaCitationContentBlockLocationParam
11
- from .beta_search_result_location_citation_param import BetaSearchResultLocationCitationParam
11
+ from .beta_citation_search_result_location_param import BetaCitationSearchResultLocationParam
12
12
  from .beta_citation_web_search_result_location_param import BetaCitationWebSearchResultLocationParam
13
13
 
14
14
  __all__ = ["BetaTextCitationParam"]
@@ -18,5 +18,5 @@ BetaTextCitationParam: TypeAlias = Union[
18
18
  BetaCitationPageLocationParam,
19
19
  BetaCitationContentBlockLocationParam,
20
20
  BetaCitationWebSearchResultLocationParam,
21
- BetaSearchResultLocationCitationParam,
21
+ BetaCitationSearchResultLocationParam,
22
22
  ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: anthropic
3
- Version: 0.57.0
3
+ Version: 0.57.1
4
4
  Summary: The official Python library for the anthropic API
5
5
  Project-URL: Homepage, https://github.com/anthropics/anthropic-sdk-python
6
6
  Project-URL: Repository, https://github.com/anthropics/anthropic-sdk-python
@@ -12,7 +12,7 @@ anthropic/_resource.py,sha256=FYEOzfhB-XWTR2gyTmQuuFoecRiVXxe_SpjZlQQGytU,1080
12
12
  anthropic/_response.py,sha256=1Y7-OrGn1lOwvZ_SmMlwT9Nb2i9A1RYw2Q4-F1cwPSU,30542
13
13
  anthropic/_streaming.py,sha256=vn8K5KgfO3Bv9NE8nwHIQEjEhkQeVE6YMnGqiJlCgqE,14023
14
14
  anthropic/_types.py,sha256=WeAcP68yMpfs3hNEltM_k2nYMiG4xda4cFdf5kHbjP8,6299
15
- anthropic/_version.py,sha256=927dwvK1eoAlXokOmVnL97vqUcwys1VkUxGm-AXPMZw,162
15
+ anthropic/_version.py,sha256=IAP4K9pP2zPwp8N6IJ39c2Vk4eDkgwHi61OxyvTcgiQ,162
16
16
  anthropic/pagination.py,sha256=hW6DOtNbwwQrNQ8wn4PJj7WB2y_37szSDQeUBnunQ40,2202
17
17
  anthropic/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
18
  anthropic/_decoders/jsonl.py,sha256=KDLw-Frjo7gRup5qDp_BWkXIZ-mFZU5vFDz0WBhEKcs,3510
@@ -167,7 +167,7 @@ anthropic/types/web_search_tool_result_block_content.py,sha256=Ev_QL9KMO7emKGcTd
167
167
  anthropic/types/web_search_tool_result_block_param.py,sha256=BBYP395H7a_6I2874EDwxTcx6imeKPgrFL0d3aa2z_8,769
168
168
  anthropic/types/web_search_tool_result_block_param_content_param.py,sha256=YIBYcDI1GSlrI-4QBugJ_2YLpkofR7Da3vOwVDU44lo,542
169
169
  anthropic/types/web_search_tool_result_error.py,sha256=3WZaS3vYkAepbsa8yEmVNkUOYcpOHonaKfHBm1nFpr8,415
170
- anthropic/types/beta/__init__.py,sha256=jB-BaANc4iKfpnbczKe3Tm_X7g9dp83QEqvIRCE5asQ,11951
170
+ anthropic/types/beta/__init__.py,sha256=E6sQ69jOL-5FgcreGinmLf2quCa1R4tVcK65l1PxI5I,11951
171
171
  anthropic/types/beta/beta_base64_image_source_param.py,sha256=njrnNCJcJyLt9JJQcidX3wuG9kpY_F5xWjb3DRO3tJQ,740
172
172
  anthropic/types/beta/beta_base64_pdf_block_param.py,sha256=aYzXqHuaoyXgNNIRnVo0YdyVT3l0rdpT9UoN4CmAYlI,257
173
173
  anthropic/types/beta/beta_base64_pdf_source_param.py,sha256=EeDrTSoJ0TtH2YfimFHtvwMURQ0rbStvrAEVevCnkSs,699
@@ -179,9 +179,11 @@ anthropic/types/beta/beta_citation_content_block_location.py,sha256=grtmZIoe8oeT
179
179
  anthropic/types/beta/beta_citation_content_block_location_param.py,sha256=egBVOEPTGHmlACdjQC2msxlrxUyEDE5a8tuDVORQ-Po,573
180
180
  anthropic/types/beta/beta_citation_page_location.py,sha256=7JKlsBhNrW3U8bHQtpNfHPy5_gVPqeHzUJ0X_DDkf6A,449
181
181
  anthropic/types/beta/beta_citation_page_location_param.py,sha256=Vdku-ReIo-VsVlaSdIVMyoLxUd-c7g3IdRLlcC2J-Yk,548
182
+ anthropic/types/beta/beta_citation_search_result_location.py,sha256=PQGJvBAk5foB2nzPd1-9hlIjE6XB7swvrrh1A0SYjU4,487
183
+ anthropic/types/beta/beta_citation_search_result_location_param.py,sha256=9xoAly_Z7SYf6uhb4Bu4PA33VyPuhlnDcbWwhLIaCYQ,596
182
184
  anthropic/types/beta/beta_citation_web_search_result_location_param.py,sha256=4RkUH9rG9bIU7zgpWE2JwfmZmVtryKu6gQ1hAMTbjx0,525
183
185
  anthropic/types/beta/beta_citations_config_param.py,sha256=3mv2HzC7BII1OYox10dhjtgxiRmucT5eNYRLxLoYm7E,279
184
- anthropic/types/beta/beta_citations_delta.py,sha256=SP5xhniSXku_3apL3yVCZf3Pdr4HI42ciOhnE-8ZcWw,1069
186
+ anthropic/types/beta/beta_citations_delta.py,sha256=Fjk3Sv5fVuZ90q4tPANkELaiWjLrTxhu2xb8ipitiH4,1069
185
187
  anthropic/types/beta/beta_citations_web_search_result_location.py,sha256=m03Z39Tc2_6Kcx-qg0_odmWgMZbdNcUsMGFOPrYrOIQ,438
186
188
  anthropic/types/beta/beta_code_execution_output_block.py,sha256=OpNDX-uckWDLBg70X1gKYNk2LAj6Re3UCOgOsnxJY1I,313
187
189
  anthropic/types/beta/beta_code_execution_output_block_param.py,sha256=EOtPBBkd-AJSbmHg_RDUY01rQLH90Q1_NZjX5CHFAeo,379
@@ -231,8 +233,6 @@ anthropic/types/beta/beta_request_mcp_server_tool_configuration_param.py,sha256=
231
233
  anthropic/types/beta/beta_request_mcp_server_url_definition_param.py,sha256=j8N0ixvGHFheT2KqqI64HKufHmVST9VcJgShtlkPzUw,644
232
234
  anthropic/types/beta/beta_request_mcp_tool_result_block_param.py,sha256=xK9SY8bmetn-LWN4hks8KDbeh2WiF0pttcCXsB99v84,761
233
235
  anthropic/types/beta/beta_search_result_block_param.py,sha256=uqzKu_6YVDRe6rIbVSmfvQE7YleyRfa_UncwI2k3cuI,842
234
- anthropic/types/beta/beta_search_result_location_citation.py,sha256=BaYZEUAANlb7LGvx5rubD6tAjK2ha7qPpbSmRUS4VPk,487
235
- anthropic/types/beta/beta_search_result_location_citation_param.py,sha256=BQPxf2740zUe1UQgpJUlg-B4Dy9CV_PveWVTn5RDZ4o,596
236
236
  anthropic/types/beta/beta_server_tool_usage.py,sha256=2QfadWgy4RRhlsFLwZkoPzRssC_D-u0Fm79TF5Y0ouY,274
237
237
  anthropic/types/beta/beta_server_tool_use_block.py,sha256=FRIibiPAybiYqVIRnRbBjoq82jJPT1xixjLoDtS_Q_s,360
238
238
  anthropic/types/beta/beta_server_tool_use_block_param.py,sha256=hIa2I-TDOkZnZgpszLRY-BiIn7i9KuRRXMa03Jkg4_0,682
@@ -240,8 +240,8 @@ anthropic/types/beta/beta_signature_delta.py,sha256=LGjB7AM6uCcjn5diCtgzSPGMssf-
240
240
  anthropic/types/beta/beta_stop_reason.py,sha256=K128DdKu6vMjONi6uAqKpbdoOLqUYRoOapg8jZV0Z0E,283
241
241
  anthropic/types/beta/beta_text_block.py,sha256=irciVXypUcB5drTF5p0btH1QzB3ZlfEXq7XxjF1cs_U,684
242
242
  anthropic/types/beta/beta_text_block_param.py,sha256=tRCfSMi2Jitz6KLp9j_7KOuToze3Ctlm-DuQH6Li1Do,693
243
- anthropic/types/beta/beta_text_citation.py,sha256=qJKZ-w2N8jh0u-Eq-JS8dOHefnNdUwU6Vu9nj3BrFvY,921
244
- anthropic/types/beta/beta_text_citation_param.py,sha256=mmSOHRlYt-qu7pJmWINy0QUnpM4V2SPRdZo1Cq3QVVQ,916
243
+ anthropic/types/beta/beta_text_citation.py,sha256=Ia_-kJ48QQ4ZN5AeWbCSCzAFwNXjVM4LHf-5-jyBJog,921
244
+ anthropic/types/beta/beta_text_citation_param.py,sha256=QuBFgo1xfMkUl3mwWI5FDTRYA-VJ27SpE7ORpyUoTJs,916
245
245
  anthropic/types/beta/beta_text_delta.py,sha256=EUXMXCQ7Mk8BnGQzm-kKqIqo5YbbdGLoAlrNLxUxS-0,269
246
246
  anthropic/types/beta/beta_thinking_block.py,sha256=R-w0ZLaNZzELS2udP0vtxtDmE2MgNcf5gXz9FyMQVEg,299
247
247
  anthropic/types/beta/beta_thinking_block_param.py,sha256=tiOk592SxRHZ77nDIpLuocz35B_1yB3qbr7MTZqhnEA,375
@@ -322,7 +322,7 @@ anthropic/types/shared/not_found_error.py,sha256=R6OsCvAmsf_SB2TwoX6E63o049qZMaA
322
322
  anthropic/types/shared/overloaded_error.py,sha256=PlyhHt3wmzcnynSfkWbfP4XkLoWsPa9B39V3CyAdgx8,282
323
323
  anthropic/types/shared/permission_error.py,sha256=nuyxtLXOiEkYEbFRXiAWjxU6XtdyjkAaXQ2NgMB3pjw,282
324
324
  anthropic/types/shared/rate_limit_error.py,sha256=eYULATjXa6KKdqeBauest7RzuN-bhGsY5BWwH9eYv4c,280
325
- anthropic-0.57.0.dist-info/METADATA,sha256=Tk39XLByq1iMKz2Fb_p0iSgL2nx46OzuPD46NJRLiLA,27105
326
- anthropic-0.57.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
327
- anthropic-0.57.0.dist-info/licenses/LICENSE,sha256=i_lphP-Lz65-SMrnalKeiiUxe6ngKr9_08xk_flWV6Y,1056
328
- anthropic-0.57.0.dist-info/RECORD,,
325
+ anthropic-0.57.1.dist-info/METADATA,sha256=z32v1knN49YYLQxWvkxkUGOhF9F01UECilFXRbyu5Eo,27105
326
+ anthropic-0.57.1.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
327
+ anthropic-0.57.1.dist-info/licenses/LICENSE,sha256=i_lphP-Lz65-SMrnalKeiiUxe6ngKr9_08xk_flWV6Y,1056
328
+ anthropic-0.57.1.dist-info/RECORD,,