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

beta_bash_code_execution_tool_result_block.py — anthropic-sdk-python Source File

Architecture documentation for beta_bash_code_execution_tool_result_block.py, a python file in the anthropic-sdk-python codebase. 7 imports, 4 dependents.

File python AnthropicClient 7 imports 4 dependents 1 classes

Entity Profile

Dependency Diagram

graph LR
  a1e0bcdc_f520_b870_fef4_5962ecaaba5e["beta_bash_code_execution_tool_result_block.py"]
  c14e2467_291d_6c7c_2b25_9a24e81f8565["_models"]
  a1e0bcdc_f520_b870_fef4_5962ecaaba5e --> c14e2467_291d_6c7c_2b25_9a24e81f8565
  82ebcb8a_f390_c7ba_5ae7_da4db335642f["beta_bash_code_execution_result_block.py"]
  a1e0bcdc_f520_b870_fef4_5962ecaaba5e --> 82ebcb8a_f390_c7ba_5ae7_da4db335642f
  c7acac87_50eb_b123_06ab_06acc3abbed1["BetaBashCodeExecutionResultBlock"]
  a1e0bcdc_f520_b870_fef4_5962ecaaba5e --> c7acac87_50eb_b123_06ab_06acc3abbed1
  d2de1dc3_9054_c20c_931a_06b31f56a88b["beta_bash_code_execution_tool_result_error.py"]
  a1e0bcdc_f520_b870_fef4_5962ecaaba5e --> d2de1dc3_9054_c20c_931a_06b31f56a88b
  cdccb043_cf72_2b39_2db9_0b37a3851c90["BetaBashCodeExecutionToolResultError"]
  a1e0bcdc_f520_b870_fef4_5962ecaaba5e --> cdccb043_cf72_2b39_2db9_0b37a3851c90
  89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875["typing"]
  a1e0bcdc_f520_b870_fef4_5962ecaaba5e --> 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875
  37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"]
  a1e0bcdc_f520_b870_fef4_5962ecaaba5e --> 37c05070_ca59_d596_7250_de9d1939227f
  65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd["__init__.py"]
  65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd --> a1e0bcdc_f520_b870_fef4_5962ecaaba5e
  24d3a083_86dc_200b_635d_9637016b3ba5["beta_content_block.py"]
  24d3a083_86dc_200b_635d_9637016b3ba5 --> a1e0bcdc_f520_b870_fef4_5962ecaaba5e
  9cc96e8a_38a2_2b93_22c9_6dd25aee6cba["beta_raw_content_block_start_event.py"]
  9cc96e8a_38a2_2b93_22c9_6dd25aee6cba --> a1e0bcdc_f520_b870_fef4_5962ecaaba5e
  91a19aea_7483_201a_3b9c_ae2833f7373f["parsed_beta_message.py"]
  91a19aea_7483_201a_3b9c_ae2833f7373f --> a1e0bcdc_f520_b870_fef4_5962ecaaba5e
  style a1e0bcdc_f520_b870_fef4_5962ecaaba5e 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, TypeAlias

from ..._models import BaseModel
from .beta_bash_code_execution_result_block import BetaBashCodeExecutionResultBlock
from .beta_bash_code_execution_tool_result_error import BetaBashCodeExecutionToolResultError

__all__ = ["BetaBashCodeExecutionToolResultBlock", "Content"]

Content: TypeAlias = Union[BetaBashCodeExecutionToolResultError, BetaBashCodeExecutionResultBlock]


class BetaBashCodeExecutionToolResultBlock(BaseModel):
    content: Content

    tool_use_id: str

    type: Literal["bash_code_execution_tool_result"]

Frequently Asked Questions

What does beta_bash_code_execution_tool_result_block.py do?
beta_bash_code_execution_tool_result_block.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does beta_bash_code_execution_tool_result_block.py depend on?
beta_bash_code_execution_tool_result_block.py imports 7 module(s): BetaBashCodeExecutionResultBlock, BetaBashCodeExecutionToolResultError, _models, beta_bash_code_execution_result_block.py, beta_bash_code_execution_tool_result_error.py, typing, typing_extensions.
What files import beta_bash_code_execution_tool_result_block.py?
beta_bash_code_execution_tool_result_block.py is imported by 4 file(s): __init__.py, beta_content_block.py, beta_raw_content_block_start_event.py, parsed_beta_message.py.
Where is beta_bash_code_execution_tool_result_block.py in the architecture?
beta_bash_code_execution_tool_result_block.py is located at src/anthropic/types/beta/beta_bash_code_execution_tool_result_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