beta_text_block.py — anthropic-sdk-python Source File
Architecture documentation for beta_text_block.py, a python file in the anthropic-sdk-python codebase. 4 imports, 5 dependents.
Entity Profile
Dependency Diagram
graph LR 4877ad46_3c86_d7b4_2b96_7cbeafa65a2c["beta_text_block.py"] c14e2467_291d_6c7c_2b25_9a24e81f8565["_models"] 4877ad46_3c86_d7b4_2b96_7cbeafa65a2c --> c14e2467_291d_6c7c_2b25_9a24e81f8565 f8027295_df7b_ee49_765f_b537bd1db397["beta_text_citation.py"] 4877ad46_3c86_d7b4_2b96_7cbeafa65a2c --> f8027295_df7b_ee49_765f_b537bd1db397 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875["typing"] 4877ad46_3c86_d7b4_2b96_7cbeafa65a2c --> 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875 37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"] 4877ad46_3c86_d7b4_2b96_7cbeafa65a2c --> 37c05070_ca59_d596_7250_de9d1939227f 65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd["__init__.py"] 65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd --> 4877ad46_3c86_d7b4_2b96_7cbeafa65a2c 24d3a083_86dc_200b_635d_9637016b3ba5["beta_content_block.py"] 24d3a083_86dc_200b_635d_9637016b3ba5 --> 4877ad46_3c86_d7b4_2b96_7cbeafa65a2c 774aa6ad_6c0d_d8ed_9ac4_90e4567b6f6d["beta_mcp_tool_result_block.py"] 774aa6ad_6c0d_d8ed_9ac4_90e4567b6f6d --> 4877ad46_3c86_d7b4_2b96_7cbeafa65a2c 9cc96e8a_38a2_2b93_22c9_6dd25aee6cba["beta_raw_content_block_start_event.py"] 9cc96e8a_38a2_2b93_22c9_6dd25aee6cba --> 4877ad46_3c86_d7b4_2b96_7cbeafa65a2c 91a19aea_7483_201a_3b9c_ae2833f7373f["parsed_beta_message.py"] 91a19aea_7483_201a_3b9c_ae2833f7373f --> 4877ad46_3c86_d7b4_2b96_7cbeafa65a2c style 4877ad46_3c86_d7b4_2b96_7cbeafa65a2c 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 List, Optional
from typing_extensions import Literal
from ..._models import BaseModel
from .beta_text_citation import BetaTextCitation
__all__ = ["BetaTextBlock"]
class BetaTextBlock(BaseModel):
citations: Optional[List[BetaTextCitation]] = None
"""Citations supporting the text block.
The type of citation returned will depend on the type of document being cited.
Citing a PDF results in `page_location`, plain text results in `char_location`,
and content document results in `content_block_location`.
"""
text: str
type: Literal["text"]
Domain
Classes
Dependencies
- _models
- beta_text_citation.py
- typing
- typing_extensions
Imported By
Source
Frequently Asked Questions
What does beta_text_block.py do?
beta_text_block.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.py depend on?
beta_text_block.py imports 4 module(s): _models, beta_text_citation.py, typing, typing_extensions.
What files import beta_text_block.py?
beta_text_block.py is imported by 5 file(s): __init__.py, beta_content_block.py, beta_mcp_tool_result_block.py, beta_raw_content_block_start_event.py, parsed_beta_message.py.
Where is beta_text_block.py in the architecture?
beta_text_block.py is located at src/anthropic/types/beta/beta_text_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