cache_control_ephemeral_param.py — anthropic-sdk-python Source File
Architecture documentation for cache_control_ephemeral_param.py, a python file in the anthropic-sdk-python codebase. 1 imports, 15 dependents.
Entity Profile
Dependency Diagram
graph LR 7b6a56f6_ac0b_b2be_9a30_e7e1bb30529a["cache_control_ephemeral_param.py"] 37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"] 7b6a56f6_ac0b_b2be_9a30_e7e1bb30529a --> 37c05070_ca59_d596_7250_de9d1939227f 2eb1aa7f_c778_4d68_0a26_a102fadd9638["__init__.py"] 2eb1aa7f_c778_4d68_0a26_a102fadd9638 --> 7b6a56f6_ac0b_b2be_9a30_e7e1bb30529a fa6d4fdc_06a3_f9c7_73f5_b4ab74d2932f["document_block_param.py"] fa6d4fdc_06a3_f9c7_73f5_b4ab74d2932f --> 7b6a56f6_ac0b_b2be_9a30_e7e1bb30529a c28867ee_5ed9_b520_794e_835547ced056["image_block_param.py"] c28867ee_5ed9_b520_794e_835547ced056 --> 7b6a56f6_ac0b_b2be_9a30_e7e1bb30529a 5d26923b_4243_20c9_787e_c0cf3f2de75c["search_result_block_param.py"] 5d26923b_4243_20c9_787e_c0cf3f2de75c --> 7b6a56f6_ac0b_b2be_9a30_e7e1bb30529a 37134884_8c30_0bdd_5b22_ea2bf0bcdd8c["server_tool_use_block_param.py"] 37134884_8c30_0bdd_5b22_ea2bf0bcdd8c --> 7b6a56f6_ac0b_b2be_9a30_e7e1bb30529a ad175324_e5f5_a13e_bfab_419a3f7bb8cf["text_block_param.py"] ad175324_e5f5_a13e_bfab_419a3f7bb8cf --> 7b6a56f6_ac0b_b2be_9a30_e7e1bb30529a 205f4c1b_ea89_42b4_07d5_9647b5b84b49["tool_bash_20250124_param.py"] 205f4c1b_ea89_42b4_07d5_9647b5b84b49 --> 7b6a56f6_ac0b_b2be_9a30_e7e1bb30529a 0a6fc20c_de0a_9f7c_f378_c2e368483562["tool_param.py"] 0a6fc20c_de0a_9f7c_f378_c2e368483562 --> 7b6a56f6_ac0b_b2be_9a30_e7e1bb30529a cb4020ae_eb0d_3f49_6ec2_20c7ca7a15c4["tool_result_block_param.py"] cb4020ae_eb0d_3f49_6ec2_20c7ca7a15c4 --> 7b6a56f6_ac0b_b2be_9a30_e7e1bb30529a 83ace8a7_58c6_0049_c928_d001f7bb324f["tool_text_editor_20250124_param.py"] 83ace8a7_58c6_0049_c928_d001f7bb324f --> 7b6a56f6_ac0b_b2be_9a30_e7e1bb30529a 9fafcb02_fb95_352f_819a_1a01fd235f66["tool_text_editor_20250429_param.py"] 9fafcb02_fb95_352f_819a_1a01fd235f66 --> 7b6a56f6_ac0b_b2be_9a30_e7e1bb30529a 08ce4ddf_5b7c_4e8f_7f8a_3daaee398731["tool_text_editor_20250728_param.py"] 08ce4ddf_5b7c_4e8f_7f8a_3daaee398731 --> 7b6a56f6_ac0b_b2be_9a30_e7e1bb30529a cbc8d166_0230_14a5_fb8b_f850dcca227b["tool_use_block_param.py"] cbc8d166_0230_14a5_fb8b_f850dcca227b --> 7b6a56f6_ac0b_b2be_9a30_e7e1bb30529a style 7b6a56f6_ac0b_b2be_9a30_e7e1bb30529a 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_extensions import Literal, Required, TypedDict
__all__ = ["CacheControlEphemeralParam"]
class CacheControlEphemeralParam(TypedDict, total=False):
type: Required[Literal["ephemeral"]]
ttl: Literal["5m", "1h"]
"""The time-to-live for the cache control breakpoint.
This may be one the following values:
- `5m`: 5 minutes
- `1h`: 1 hour
Defaults to `5m`.
"""
Domain
Classes
Dependencies
- typing_extensions
Imported By
- src/anthropic/types/__init__.py
- src/anthropic/types/document_block_param.py
- src/anthropic/types/image_block_param.py
- src/anthropic/types/search_result_block_param.py
- src/anthropic/types/server_tool_use_block_param.py
- src/anthropic/types/text_block_param.py
- src/anthropic/types/tool_bash_20250124_param.py
- src/anthropic/types/tool_param.py
- src/anthropic/types/tool_result_block_param.py
- src/anthropic/types/tool_text_editor_20250124_param.py
- src/anthropic/types/tool_text_editor_20250429_param.py
- src/anthropic/types/tool_text_editor_20250728_param.py
- src/anthropic/types/tool_use_block_param.py
- src/anthropic/types/web_search_tool_20250305_param.py
- src/anthropic/types/web_search_tool_result_block_param.py
Source
Frequently Asked Questions
What does cache_control_ephemeral_param.py do?
cache_control_ephemeral_param.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does cache_control_ephemeral_param.py depend on?
cache_control_ephemeral_param.py imports 1 module(s): typing_extensions.
What files import cache_control_ephemeral_param.py?
cache_control_ephemeral_param.py is imported by 15 file(s): __init__.py, document_block_param.py, image_block_param.py, search_result_block_param.py, server_tool_use_block_param.py, text_block_param.py, tool_bash_20250124_param.py, tool_param.py, and 7 more.
Where is cache_control_ephemeral_param.py in the architecture?
cache_control_ephemeral_param.py is located at src/anthropic/types/cache_control_ephemeral_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