anthropic 0.65.0__py3-none-any.whl → 0.66.0__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.65.0" # x-release-please-version
4
+ __version__ = "0.66.0" # x-release-please-version
@@ -8,11 +8,14 @@ from typing_extensions import Literal, Required, TypeAlias, TypedDict
8
8
  from .beta_text_block_param import BetaTextBlockParam
9
9
  from .beta_image_block_param import BetaImageBlockParam
10
10
  from .beta_search_result_block_param import BetaSearchResultBlockParam
11
+ from .beta_request_document_block_param import BetaRequestDocumentBlockParam
11
12
  from .beta_cache_control_ephemeral_param import BetaCacheControlEphemeralParam
12
13
 
13
14
  __all__ = ["BetaToolResultBlockParam", "Content"]
14
15
 
15
- Content: TypeAlias = Union[BetaTextBlockParam, BetaImageBlockParam, BetaSearchResultBlockParam]
16
+ Content: TypeAlias = Union[
17
+ BetaTextBlockParam, BetaImageBlockParam, BetaSearchResultBlockParam, BetaRequestDocumentBlockParam
18
+ ]
16
19
 
17
20
 
18
21
  class BetaToolResultBlockParam(TypedDict, total=False):
@@ -7,12 +7,13 @@ from typing_extensions import Literal, Required, TypeAlias, TypedDict
7
7
 
8
8
  from .text_block_param import TextBlockParam
9
9
  from .image_block_param import ImageBlockParam
10
+ from .document_block_param import DocumentBlockParam
10
11
  from .search_result_block_param import SearchResultBlockParam
11
12
  from .cache_control_ephemeral_param import CacheControlEphemeralParam
12
13
 
13
14
  __all__ = ["ToolResultBlockParam", "Content"]
14
15
 
15
- Content: TypeAlias = Union[TextBlockParam, ImageBlockParam, SearchResultBlockParam]
16
+ Content: TypeAlias = Union[TextBlockParam, ImageBlockParam, SearchResultBlockParam, DocumentBlockParam]
16
17
 
17
18
 
18
19
  class ToolResultBlockParam(TypedDict, total=False):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: anthropic
3
- Version: 0.65.0
3
+ Version: 0.66.0
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=PwAzwWTKp9b08FTllhWjQPX_-8CLXWh6U-9atpUYHxg,7398
15
- anthropic/_version.py,sha256=ikqCFO1tZh83TLNXRp_eDM1t2ZnWRapAZRTMTaIkH2o,162
15
+ anthropic/_version.py,sha256=kUZAIOAxkBJpV7HJ8PedCJByxx4XsYZr9FNnhGqGyk4,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
@@ -154,7 +154,7 @@ anthropic/types/tool_choice_none_param.py,sha256=druYe_74R1D92_ZPvJfbapBXjXMPXwQ
154
154
  anthropic/types/tool_choice_param.py,sha256=nA7VNo9XKPNTpof8yr7GcgAPKOjWyR3glRpBVZZR2gc,561
155
155
  anthropic/types/tool_choice_tool_param.py,sha256=61mEbvhxU4oGKxTlcFt1RBUzHPIIuWgQynrn49_HKZY,552
156
156
  anthropic/types/tool_param.py,sha256=9VaIuk1lshZRtNwuACIRRYGSH_4E-yi7PEozOqEx3Vs,1654
157
- anthropic/types/tool_result_block_param.py,sha256=p-NvDniVgdPjmZ5bIhNcpTTUitKEwFnWWU-q1U1nwvM,912
157
+ anthropic/types/tool_result_block_param.py,sha256=0rbEAOygNLSnt03pfVdZfcTEVWK_CbBdk2mdUTN0gkg,985
158
158
  anthropic/types/tool_text_editor_20250124_param.py,sha256=uZU1b3qkuAMf_WnyPd_SyEO7iQXY75-XEYBP1JkGu4U,725
159
159
  anthropic/types/tool_text_editor_20250429_param.py,sha256=2laqI5jBBNignFGJhwyOWoRFjFiMAMTApJLJhcW11Lk,734
160
160
  anthropic/types/tool_text_editor_20250728_param.py,sha256=ep1KG6uIZFZ94XhRD0sV3zdtXNcA9WJ9MBtm26Y88U0,906
@@ -284,7 +284,7 @@ anthropic/types/beta/beta_tool_choice_tool_param.py,sha256=TYPA4HbTZrSBcDsMnsk86
284
284
  anthropic/types/beta/beta_tool_computer_use_20241022_param.py,sha256=AjucXClRInpVVEhI2VnXwICpNCVlysr0YD4w32y56lg,1000
285
285
  anthropic/types/beta/beta_tool_computer_use_20250124_param.py,sha256=BIHpALLErLWvFA4Scv4ntAa8NSSmE2WA_EV9DCN6Udw,1000
286
286
  anthropic/types/beta/beta_tool_param.py,sha256=iUoPeB4GONzgEc3PstF2xPh9svwGqMWyo3K8V2zR988,1575
287
- anthropic/types/beta/beta_tool_result_block_param.py,sha256=g-4YcaWURLDwBVFu5k-cD9eCmYMMLcZsOBMb3TQCOas,972
287
+ anthropic/types/beta/beta_tool_result_block_param.py,sha256=84vvYhCfImu22BECeL-zBvfjNCXV0rIfr7trnR9VE3Q,1086
288
288
  anthropic/types/beta/beta_tool_text_editor_20241022_param.py,sha256=z4plQ-egA85ettWcQm3sptpiBv3EYL1VbtrL2fldtTM,746
289
289
  anthropic/types/beta/beta_tool_text_editor_20250124_param.py,sha256=PqRpXlK9TqHPOcF5SRkGSeWc793QMNUztuIQKoGHyoI,746
290
290
  anthropic/types/beta/beta_tool_text_editor_20250429_param.py,sha256=2skxGp7C7fwrecE2dS22FPRXhxRF8VMQS4K5cNT-fbA,755
@@ -348,7 +348,7 @@ anthropic/types/shared/not_found_error.py,sha256=R6OsCvAmsf_SB2TwoX6E63o049qZMaA
348
348
  anthropic/types/shared/overloaded_error.py,sha256=PlyhHt3wmzcnynSfkWbfP4XkLoWsPa9B39V3CyAdgx8,282
349
349
  anthropic/types/shared/permission_error.py,sha256=nuyxtLXOiEkYEbFRXiAWjxU6XtdyjkAaXQ2NgMB3pjw,282
350
350
  anthropic/types/shared/rate_limit_error.py,sha256=eYULATjXa6KKdqeBauest7RzuN-bhGsY5BWwH9eYv4c,280
351
- anthropic-0.65.0.dist-info/METADATA,sha256=8VHRfilbkMCeB5EODuf-j7iJcuTtTuX2G-AybN8kDno,27053
352
- anthropic-0.65.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
353
- anthropic-0.65.0.dist-info/licenses/LICENSE,sha256=i_lphP-Lz65-SMrnalKeiiUxe6ngKr9_08xk_flWV6Y,1056
354
- anthropic-0.65.0.dist-info/RECORD,,
351
+ anthropic-0.66.0.dist-info/METADATA,sha256=fDkA3IeEzPoi_eumFDVRVEZsiWQJGaojKdJbEDSyZzU,27053
352
+ anthropic-0.66.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
353
+ anthropic-0.66.0.dist-info/licenses/LICENSE,sha256=i_lphP-Lz65-SMrnalKeiiUxe6ngKr9_08xk_flWV6Y,1056
354
+ anthropic-0.66.0.dist-info/RECORD,,