text_block_param.py — anthropic-sdk-python Source File
Architecture documentation for text_block_param.py, a python file in the anthropic-sdk-python codebase. 5 imports, 8 dependents.
Entity Profile
Dependency Diagram
graph LR ad175324_e5f5_a13e_bfab_419a3f7bb8cf["text_block_param.py"] d247d7a7_c65c_be39_6ebd_3fb653c47847["text_citation_param.py"] ad175324_e5f5_a13e_bfab_419a3f7bb8cf --> d247d7a7_c65c_be39_6ebd_3fb653c47847 7b6a56f6_ac0b_b2be_9a30_e7e1bb30529a["cache_control_ephemeral_param.py"] ad175324_e5f5_a13e_bfab_419a3f7bb8cf --> 7b6a56f6_ac0b_b2be_9a30_e7e1bb30529a f1f58cbf_75c8_98cd_2b10_51b503d83961["CacheControlEphemeralParam"] ad175324_e5f5_a13e_bfab_419a3f7bb8cf --> f1f58cbf_75c8_98cd_2b10_51b503d83961 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875["typing"] ad175324_e5f5_a13e_bfab_419a3f7bb8cf --> 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875 37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"] ad175324_e5f5_a13e_bfab_419a3f7bb8cf --> 37c05070_ca59_d596_7250_de9d1939227f 2eb1aa7f_c778_4d68_0a26_a102fadd9638["__init__.py"] 2eb1aa7f_c778_4d68_0a26_a102fadd9638 --> ad175324_e5f5_a13e_bfab_419a3f7bb8cf d024297d_e500_1aa5_cd5a_a5f85dd27075["content_block_param.py"] d024297d_e500_1aa5_cd5a_a5f85dd27075 --> ad175324_e5f5_a13e_bfab_419a3f7bb8cf 6e79f5d1_1a97_16ff_3916_ba376dc005f2["content_block_source_content_param.py"] 6e79f5d1_1a97_16ff_3916_ba376dc005f2 --> ad175324_e5f5_a13e_bfab_419a3f7bb8cf 11b723a4_f0a6_3747_c358_91ffd0f2c339["message_count_tokens_params.py"] 11b723a4_f0a6_3747_c358_91ffd0f2c339 --> ad175324_e5f5_a13e_bfab_419a3f7bb8cf 323219cc_84cd_94e9_ae78_777a62f2a45c["message_create_params.py"] 323219cc_84cd_94e9_ae78_777a62f2a45c --> ad175324_e5f5_a13e_bfab_419a3f7bb8cf ee233da2_be45_4f72_f2d1_e5c3132da735["message_param.py"] ee233da2_be45_4f72_f2d1_e5c3132da735 --> ad175324_e5f5_a13e_bfab_419a3f7bb8cf 5d26923b_4243_20c9_787e_c0cf3f2de75c["search_result_block_param.py"] 5d26923b_4243_20c9_787e_c0cf3f2de75c --> ad175324_e5f5_a13e_bfab_419a3f7bb8cf cb4020ae_eb0d_3f49_6ec2_20c7ca7a15c4["tool_result_block_param.py"] cb4020ae_eb0d_3f49_6ec2_20c7ca7a15c4 --> ad175324_e5f5_a13e_bfab_419a3f7bb8cf style ad175324_e5f5_a13e_bfab_419a3f7bb8cf 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 .text_citation_param import TextCitationParam
from .cache_control_ephemeral_param import CacheControlEphemeralParam
__all__ = ["TextBlockParam"]
class TextBlockParam(TypedDict, total=False):
text: Required[str]
type: Required[Literal["text"]]
cache_control: Optional[CacheControlEphemeralParam]
"""Create a cache control breakpoint at this content block."""
citations: Optional[Iterable[TextCitationParam]]
Domain
Classes
Dependencies
- CacheControlEphemeralParam
- cache_control_ephemeral_param.py
- text_citation_param.py
- typing
- typing_extensions
Imported By
- src/anthropic/types/__init__.py
- src/anthropic/types/content_block_param.py
- src/anthropic/types/content_block_source_content_param.py
- src/anthropic/types/message_count_tokens_params.py
- src/anthropic/types/message_create_params.py
- src/anthropic/types/message_param.py
- src/anthropic/types/search_result_block_param.py
- src/anthropic/types/tool_result_block_param.py
Source
Frequently Asked Questions
What does text_block_param.py do?
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 text_block_param.py depend on?
text_block_param.py imports 5 module(s): CacheControlEphemeralParam, cache_control_ephemeral_param.py, text_citation_param.py, typing, typing_extensions.
What files import text_block_param.py?
text_block_param.py is imported by 8 file(s): __init__.py, content_block_param.py, content_block_source_content_param.py, message_count_tokens_params.py, message_create_params.py, message_param.py, search_result_block_param.py, tool_result_block_param.py.
Where is text_block_param.py in the architecture?
text_block_param.py is located at src/anthropic/types/text_block_param.py (domain: AnthropicClient, directory: src/anthropic/types).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free