BetaTextBlock Class — anthropic-sdk-python Architecture
Architecture documentation for the BetaTextBlock class in beta_text_block.py from the anthropic-sdk-python codebase.
Entity Profile
Dependency Diagram
graph TD 4f11b8ba_bf54_4d45_93e0_97854c533b42["BetaTextBlock"] 17ce5647_6f06_0676_a4a5_e378a3f57cb1["BaseModel"] 4f11b8ba_bf54_4d45_93e0_97854c533b42 -->|extends| 17ce5647_6f06_0676_a4a5_e378a3f57cb1 4877ad46_3c86_d7b4_2b96_7cbeafa65a2c["beta_text_block.py"] 4f11b8ba_bf54_4d45_93e0_97854c533b42 -->|defined in| 4877ad46_3c86_d7b4_2b96_7cbeafa65a2c
Relationship Graph
Source Code
src/anthropic/types/beta/beta_text_block.py lines 12–23
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
Defined In
Extends
Source
Frequently Asked Questions
What is the BetaTextBlock class?
BetaTextBlock is a class in the anthropic-sdk-python codebase, defined in src/anthropic/types/beta/beta_text_block.py.
Where is BetaTextBlock defined?
BetaTextBlock is defined in src/anthropic/types/beta/beta_text_block.py at line 12.
What does BetaTextBlock extend?
BetaTextBlock extends BaseModel.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free