beta_content_block.py — anthropic-sdk-python Source File
Architecture documentation for beta_content_block.py, a python file in the anthropic-sdk-python codebase. 33 imports, 3 dependents.
Entity Profile
Dependency Diagram
graph LR 24d3a083_86dc_200b_635d_9637016b3ba5["beta_content_block.py"] 40a4d499_6b34_0763_5e68_275c9212420c["_utils"] 24d3a083_86dc_200b_635d_9637016b3ba5 --> 40a4d499_6b34_0763_5e68_275c9212420c 4877ad46_3c86_d7b4_2b96_7cbeafa65a2c["beta_text_block.py"] 24d3a083_86dc_200b_635d_9637016b3ba5 --> 4877ad46_3c86_d7b4_2b96_7cbeafa65a2c 4f11b8ba_bf54_4d45_93e0_97854c533b42["BetaTextBlock"] 24d3a083_86dc_200b_635d_9637016b3ba5 --> 4f11b8ba_bf54_4d45_93e0_97854c533b42 4d45177c_cd68_9cf6_7269_5aa30e08620d["beta_thinking_block.py"] 24d3a083_86dc_200b_635d_9637016b3ba5 --> 4d45177c_cd68_9cf6_7269_5aa30e08620d 14284f68_a16b_5655_c891_8e911637e31c["BetaThinkingBlock"] 24d3a083_86dc_200b_635d_9637016b3ba5 --> 14284f68_a16b_5655_c891_8e911637e31c 3490cc9c_a0ed_ccc0_0bf0_903998b3ac1a["beta_tool_use_block.py"] 24d3a083_86dc_200b_635d_9637016b3ba5 --> 3490cc9c_a0ed_ccc0_0bf0_903998b3ac1a 5de6d66f_5988_4224_e724_578c556a4586["BetaToolUseBlock"] 24d3a083_86dc_200b_635d_9637016b3ba5 --> 5de6d66f_5988_4224_e724_578c556a4586 eeb205f4_56e4_0c7d_ec9a_883c09629c6e["beta_compaction_block.py"] 24d3a083_86dc_200b_635d_9637016b3ba5 --> eeb205f4_56e4_0c7d_ec9a_883c09629c6e 45bc31e7_8b22_58b3_dd1d_30336abd100f["BetaCompactionBlock"] 24d3a083_86dc_200b_635d_9637016b3ba5 --> 45bc31e7_8b22_58b3_dd1d_30336abd100f 9d21dca0_edd9_a04e_2d73_fa2c73d7f8ae["beta_mcp_tool_use_block.py"] 24d3a083_86dc_200b_635d_9637016b3ba5 --> 9d21dca0_edd9_a04e_2d73_fa2c73d7f8ae 1cd1de5c_c735_016b_c0ae_3be63ad95b6f["BetaMCPToolUseBlock"] 24d3a083_86dc_200b_635d_9637016b3ba5 --> 1cd1de5c_c735_016b_c0ae_3be63ad95b6f 774aa6ad_6c0d_d8ed_9ac4_90e4567b6f6d["beta_mcp_tool_result_block.py"] 24d3a083_86dc_200b_635d_9637016b3ba5 --> 774aa6ad_6c0d_d8ed_9ac4_90e4567b6f6d f0b188cf_c346_82d9_0146_acb71aed9402["BetaMCPToolResultBlock"] 24d3a083_86dc_200b_635d_9637016b3ba5 --> f0b188cf_c346_82d9_0146_acb71aed9402 1b4bf9fe_26d2_d517_8775_4ba0390d6657["beta_server_tool_use_block.py"] 24d3a083_86dc_200b_635d_9637016b3ba5 --> 1b4bf9fe_26d2_d517_8775_4ba0390d6657 style 24d3a083_86dc_200b_635d_9637016b3ba5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Union
from typing_extensions import Annotated, TypeAlias
from ..._utils import PropertyInfo
from .beta_text_block import BetaTextBlock
from .beta_thinking_block import BetaThinkingBlock
from .beta_tool_use_block import BetaToolUseBlock
from .beta_compaction_block import BetaCompactionBlock
from .beta_mcp_tool_use_block import BetaMCPToolUseBlock
from .beta_mcp_tool_result_block import BetaMCPToolResultBlock
from .beta_server_tool_use_block import BetaServerToolUseBlock
from .beta_container_upload_block import BetaContainerUploadBlock
from .beta_redacted_thinking_block import BetaRedactedThinkingBlock
from .beta_web_fetch_tool_result_block import BetaWebFetchToolResultBlock
from .beta_web_search_tool_result_block import BetaWebSearchToolResultBlock
from .beta_tool_search_tool_result_block import BetaToolSearchToolResultBlock
from .beta_code_execution_tool_result_block import BetaCodeExecutionToolResultBlock
from .beta_bash_code_execution_tool_result_block import BetaBashCodeExecutionToolResultBlock
from .beta_text_editor_code_execution_tool_result_block import BetaTextEditorCodeExecutionToolResultBlock
__all__ = ["BetaContentBlock"]
BetaContentBlock: TypeAlias = Annotated[
Union[
BetaTextBlock,
BetaThinkingBlock,
BetaRedactedThinkingBlock,
BetaToolUseBlock,
BetaServerToolUseBlock,
BetaWebSearchToolResultBlock,
BetaWebFetchToolResultBlock,
BetaCodeExecutionToolResultBlock,
BetaBashCodeExecutionToolResultBlock,
BetaTextEditorCodeExecutionToolResultBlock,
BetaToolSearchToolResultBlock,
BetaMCPToolUseBlock,
BetaMCPToolResultBlock,
BetaContainerUploadBlock,
BetaCompactionBlock,
],
PropertyInfo(discriminator="type"),
]
Domain
Dependencies
- BetaBashCodeExecutionToolResultBlock
- BetaCodeExecutionToolResultBlock
- BetaCompactionBlock
- BetaContainerUploadBlock
- BetaMCPToolResultBlock
- BetaMCPToolUseBlock
- BetaRedactedThinkingBlock
- BetaServerToolUseBlock
- BetaTextBlock
- BetaTextEditorCodeExecutionToolResultBlock
- BetaThinkingBlock
- BetaToolSearchToolResultBlock
- BetaToolUseBlock
- BetaWebFetchToolResultBlock
- BetaWebSearchToolResultBlock
- _utils
- beta_bash_code_execution_tool_result_block.py
- beta_code_execution_tool_result_block.py
- beta_compaction_block.py
- beta_container_upload_block.py
- beta_mcp_tool_result_block.py
- beta_mcp_tool_use_block.py
- beta_redacted_thinking_block.py
- beta_server_tool_use_block.py
- beta_text_block.py
- beta_text_editor_code_execution_tool_result_block.py
- beta_thinking_block.py
- beta_tool_search_tool_result_block.py
- beta_tool_use_block.py
- beta_web_fetch_tool_result_block.py
- beta_web_search_tool_result_block.py
- typing
- typing_extensions
Imported By
Source
Frequently Asked Questions
What does beta_content_block.py do?
beta_content_block.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does beta_content_block.py depend on?
beta_content_block.py imports 33 module(s): BetaBashCodeExecutionToolResultBlock, BetaCodeExecutionToolResultBlock, BetaCompactionBlock, BetaContainerUploadBlock, BetaMCPToolResultBlock, BetaMCPToolUseBlock, BetaRedactedThinkingBlock, BetaServerToolUseBlock, and 25 more.
What files import beta_content_block.py?
beta_content_block.py is imported by 3 file(s): __init__.py, beta_content_block_param.py, beta_message.py.
Where is beta_content_block.py in the architecture?
beta_content_block.py is located at src/anthropic/types/beta/beta_content_block.py (domain: AnthropicClient, directory: src/anthropic/types/beta).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free