Home / File/ beta_raw_content_block_start_event.py — anthropic-sdk-python Source File

beta_raw_content_block_start_event.py — anthropic-sdk-python Source File

Architecture documentation for beta_raw_content_block_start_event.py, a python file in the anthropic-sdk-python codebase. 34 imports, 2 dependents.

File python AnthropicClient 34 imports 2 dependents 1 classes

Entity Profile

Dependency Diagram

graph LR
  9cc96e8a_38a2_2b93_22c9_6dd25aee6cba["beta_raw_content_block_start_event.py"]
  40a4d499_6b34_0763_5e68_275c9212420c["_utils"]
  9cc96e8a_38a2_2b93_22c9_6dd25aee6cba --> 40a4d499_6b34_0763_5e68_275c9212420c
  c14e2467_291d_6c7c_2b25_9a24e81f8565["_models"]
  9cc96e8a_38a2_2b93_22c9_6dd25aee6cba --> c14e2467_291d_6c7c_2b25_9a24e81f8565
  4877ad46_3c86_d7b4_2b96_7cbeafa65a2c["beta_text_block.py"]
  9cc96e8a_38a2_2b93_22c9_6dd25aee6cba --> 4877ad46_3c86_d7b4_2b96_7cbeafa65a2c
  4f11b8ba_bf54_4d45_93e0_97854c533b42["BetaTextBlock"]
  9cc96e8a_38a2_2b93_22c9_6dd25aee6cba --> 4f11b8ba_bf54_4d45_93e0_97854c533b42
  4d45177c_cd68_9cf6_7269_5aa30e08620d["beta_thinking_block.py"]
  9cc96e8a_38a2_2b93_22c9_6dd25aee6cba --> 4d45177c_cd68_9cf6_7269_5aa30e08620d
  14284f68_a16b_5655_c891_8e911637e31c["BetaThinkingBlock"]
  9cc96e8a_38a2_2b93_22c9_6dd25aee6cba --> 14284f68_a16b_5655_c891_8e911637e31c
  3490cc9c_a0ed_ccc0_0bf0_903998b3ac1a["beta_tool_use_block.py"]
  9cc96e8a_38a2_2b93_22c9_6dd25aee6cba --> 3490cc9c_a0ed_ccc0_0bf0_903998b3ac1a
  5de6d66f_5988_4224_e724_578c556a4586["BetaToolUseBlock"]
  9cc96e8a_38a2_2b93_22c9_6dd25aee6cba --> 5de6d66f_5988_4224_e724_578c556a4586
  eeb205f4_56e4_0c7d_ec9a_883c09629c6e["beta_compaction_block.py"]
  9cc96e8a_38a2_2b93_22c9_6dd25aee6cba --> eeb205f4_56e4_0c7d_ec9a_883c09629c6e
  45bc31e7_8b22_58b3_dd1d_30336abd100f["BetaCompactionBlock"]
  9cc96e8a_38a2_2b93_22c9_6dd25aee6cba --> 45bc31e7_8b22_58b3_dd1d_30336abd100f
  9d21dca0_edd9_a04e_2d73_fa2c73d7f8ae["beta_mcp_tool_use_block.py"]
  9cc96e8a_38a2_2b93_22c9_6dd25aee6cba --> 9d21dca0_edd9_a04e_2d73_fa2c73d7f8ae
  1cd1de5c_c735_016b_c0ae_3be63ad95b6f["BetaMCPToolUseBlock"]
  9cc96e8a_38a2_2b93_22c9_6dd25aee6cba --> 1cd1de5c_c735_016b_c0ae_3be63ad95b6f
  774aa6ad_6c0d_d8ed_9ac4_90e4567b6f6d["beta_mcp_tool_result_block.py"]
  9cc96e8a_38a2_2b93_22c9_6dd25aee6cba --> 774aa6ad_6c0d_d8ed_9ac4_90e4567b6f6d
  f0b188cf_c346_82d9_0146_acb71aed9402["BetaMCPToolResultBlock"]
  9cc96e8a_38a2_2b93_22c9_6dd25aee6cba --> f0b188cf_c346_82d9_0146_acb71aed9402
  style 9cc96e8a_38a2_2b93_22c9_6dd25aee6cba 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 Literal, Annotated, TypeAlias

from ..._utils import PropertyInfo
from ..._models import BaseModel
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__ = ["BetaRawContentBlockStartEvent", "ContentBlock"]

ContentBlock: TypeAlias = Annotated[
    Union[
        BetaTextBlock,
        BetaThinkingBlock,
        BetaRedactedThinkingBlock,
        BetaToolUseBlock,
        BetaServerToolUseBlock,
        BetaWebSearchToolResultBlock,
        BetaWebFetchToolResultBlock,
        BetaCodeExecutionToolResultBlock,
        BetaBashCodeExecutionToolResultBlock,
        BetaTextEditorCodeExecutionToolResultBlock,
        BetaToolSearchToolResultBlock,
        BetaMCPToolUseBlock,
        BetaMCPToolResultBlock,
        BetaContainerUploadBlock,
        BetaCompactionBlock,
    ],
    PropertyInfo(discriminator="type"),
]


class BetaRawContentBlockStartEvent(BaseModel):
    content_block: ContentBlock
    """Response model for a file uploaded to the container."""

    index: int

    type: Literal["content_block_start"]

Frequently Asked Questions

What does beta_raw_content_block_start_event.py do?
beta_raw_content_block_start_event.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does beta_raw_content_block_start_event.py depend on?
beta_raw_content_block_start_event.py imports 34 module(s): BetaBashCodeExecutionToolResultBlock, BetaCodeExecutionToolResultBlock, BetaCompactionBlock, BetaContainerUploadBlock, BetaMCPToolResultBlock, BetaMCPToolUseBlock, BetaRedactedThinkingBlock, BetaServerToolUseBlock, and 26 more.
What files import beta_raw_content_block_start_event.py?
beta_raw_content_block_start_event.py is imported by 2 file(s): __init__.py, beta_raw_message_stream_event.py.
Where is beta_raw_content_block_start_event.py in the architecture?
beta_raw_content_block_start_event.py is located at src/anthropic/types/beta/beta_raw_content_block_start_event.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