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

beta_text_block_param.py — anthropic-sdk-python Source File

Architecture documentation for beta_text_block_param.py, a python file in the anthropic-sdk-python codebase. 5 imports, 8 dependents.

File python AnthropicClient 5 imports 8 dependents 1 classes

Entity Profile

Dependency Diagram

graph LR
  e3e3b937_6204_475f_da4d_9546b2f9d538["beta_text_block_param.py"]
  5cce4896_44d9_65fa_d95b_127f414f4a71["beta_text_citation_param.py"]
  e3e3b937_6204_475f_da4d_9546b2f9d538 --> 5cce4896_44d9_65fa_d95b_127f414f4a71
  2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a["beta_cache_control_ephemeral_param.py"]
  e3e3b937_6204_475f_da4d_9546b2f9d538 --> 2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a
  f588de01_21b5_50f2_ffbb_cc9a67f33921["BetaCacheControlEphemeralParam"]
  e3e3b937_6204_475f_da4d_9546b2f9d538 --> f588de01_21b5_50f2_ffbb_cc9a67f33921
  89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875["typing"]
  e3e3b937_6204_475f_da4d_9546b2f9d538 --> 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875
  37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"]
  e3e3b937_6204_475f_da4d_9546b2f9d538 --> 37c05070_ca59_d596_7250_de9d1939227f
  65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd["__init__.py"]
  65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd --> e3e3b937_6204_475f_da4d_9546b2f9d538
  83c03c28_4e95_07bb_9ff5_cf553b7552b6["beta_content_block_param.py"]
  83c03c28_4e95_07bb_9ff5_cf553b7552b6 --> e3e3b937_6204_475f_da4d_9546b2f9d538
  e84780ac_feff_3a35_6d0f_2a345c0d96be["beta_content_block_source_content_param.py"]
  e84780ac_feff_3a35_6d0f_2a345c0d96be --> e3e3b937_6204_475f_da4d_9546b2f9d538
  ed4bb702_0e2a_d99f_7e48_393288c29dff["beta_request_mcp_tool_result_block_param.py"]
  ed4bb702_0e2a_d99f_7e48_393288c29dff --> e3e3b937_6204_475f_da4d_9546b2f9d538
  d39314eb_530e_def0_5fe3_862c7208c56e["beta_search_result_block_param.py"]
  d39314eb_530e_def0_5fe3_862c7208c56e --> e3e3b937_6204_475f_da4d_9546b2f9d538
  30a04331_510b_4ad3_a38f_41421fe7bf18["beta_tool_result_block_param.py"]
  30a04331_510b_4ad3_a38f_41421fe7bf18 --> e3e3b937_6204_475f_da4d_9546b2f9d538
  579bd2f9_ae1a_5b30_88c4_93179ebb82b6["message_count_tokens_params.py"]
  579bd2f9_ae1a_5b30_88c4_93179ebb82b6 --> e3e3b937_6204_475f_da4d_9546b2f9d538
  a32dcec6_633c_e7ef_d542_c60e324a317e["message_create_params.py"]
  a32dcec6_633c_e7ef_d542_c60e324a317e --> e3e3b937_6204_475f_da4d_9546b2f9d538
  style e3e3b937_6204_475f_da4d_9546b2f9d538 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from __future__ import annotations

from typing import Iterable, Optional
from typing_extensions import Literal, Required, TypedDict

from .beta_text_citation_param import BetaTextCitationParam
from .beta_cache_control_ephemeral_param import BetaCacheControlEphemeralParam

__all__ = ["BetaTextBlockParam"]


class BetaTextBlockParam(TypedDict, total=False):
    text: Required[str]

    type: Required[Literal["text"]]

    cache_control: Optional[BetaCacheControlEphemeralParam]
    """Create a cache control breakpoint at this content block."""

    citations: Optional[Iterable[BetaTextCitationParam]]

Frequently Asked Questions

What does beta_text_block_param.py do?
beta_text_block_param.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does beta_text_block_param.py depend on?
beta_text_block_param.py imports 5 module(s): BetaCacheControlEphemeralParam, beta_cache_control_ephemeral_param.py, beta_text_citation_param.py, typing, typing_extensions.
What files import beta_text_block_param.py?
beta_text_block_param.py is imported by 8 file(s): __init__.py, beta_content_block_param.py, beta_content_block_source_content_param.py, beta_request_mcp_tool_result_block_param.py, beta_search_result_block_param.py, beta_tool_result_block_param.py, message_count_tokens_params.py, message_create_params.py.
Where is beta_text_block_param.py in the architecture?
beta_text_block_param.py is located at src/anthropic/types/beta/beta_text_block_param.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