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

beta_cache_control_ephemeral_param.py — anthropic-sdk-python Source File

Architecture documentation for beta_cache_control_ephemeral_param.py, a python file in the anthropic-sdk-python codebase. 1 imports, 37 dependents.

File python AnthropicClient 1 imports 37 dependents 1 classes

Entity Profile

Dependency Diagram

graph LR
  2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a["beta_cache_control_ephemeral_param.py"]
  37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"]
  2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a --> 37c05070_ca59_d596_7250_de9d1939227f
  65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd["__init__.py"]
  65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd --> 2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a
  073fd526_5365_6c9d_784b_affd44f981d5["beta_bash_code_execution_tool_result_block_param.py"]
  073fd526_5365_6c9d_784b_affd44f981d5 --> 2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a
  046d318f_a333_d0f3_6026_5380ca3edb69["beta_code_execution_tool_20250522_param.py"]
  046d318f_a333_d0f3_6026_5380ca3edb69 --> 2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a
  e4762c94_7e4a_6d82_ab28_45a0383c5def["beta_code_execution_tool_20250825_param.py"]
  e4762c94_7e4a_6d82_ab28_45a0383c5def --> 2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a
  6d3ab97b_2826_24d8_74bc_465c16d0b099["beta_code_execution_tool_result_block_param.py"]
  6d3ab97b_2826_24d8_74bc_465c16d0b099 --> 2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a
  3fe6f04a_9f51_cfe2_ea62_f11108e3f392["beta_compaction_block_param.py"]
  3fe6f04a_9f51_cfe2_ea62_f11108e3f392 --> 2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a
  42745ce1_12ae_6760_da09_4543a0a1b88b["beta_container_upload_block_param.py"]
  42745ce1_12ae_6760_da09_4543a0a1b88b --> 2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a
  f054645d_1099_0773_edd9_9f613b9ff9c2["beta_image_block_param.py"]
  f054645d_1099_0773_edd9_9f613b9ff9c2 --> 2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a
  1a78cfcc_b155_7070_ca56_e450644a60f7["beta_mcp_tool_use_block_param.py"]
  1a78cfcc_b155_7070_ca56_e450644a60f7 --> 2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a
  8cfd8f6e_8b08_74f8_03c8_cc3afc0d6a51["beta_mcp_toolset_param.py"]
  8cfd8f6e_8b08_74f8_03c8_cc3afc0d6a51 --> 2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a
  bc8868e3_f045_b1f5_da99_ccdfea2969ad["beta_memory_tool_20250818_param.py"]
  bc8868e3_f045_b1f5_da99_ccdfea2969ad --> 2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a
  2a38c83e_f997_210b_c58a_f947e0752866["beta_request_document_block_param.py"]
  2a38c83e_f997_210b_c58a_f947e0752866 --> 2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a
  ed4bb702_0e2a_d99f_7e48_393288c29dff["beta_request_mcp_tool_result_block_param.py"]
  ed4bb702_0e2a_d99f_7e48_393288c29dff --> 2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a
  style 2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a 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__ = ["BetaCacheControlEphemeralParam"]


class BetaCacheControlEphemeralParam(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`.
    """

Dependencies

  • typing_extensions

Imported By

Frequently Asked Questions

What does beta_cache_control_ephemeral_param.py do?
beta_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 beta_cache_control_ephemeral_param.py depend on?
beta_cache_control_ephemeral_param.py imports 1 module(s): typing_extensions.
What files import beta_cache_control_ephemeral_param.py?
beta_cache_control_ephemeral_param.py is imported by 37 file(s): __init__.py, beta_bash_code_execution_tool_result_block_param.py, beta_code_execution_tool_20250522_param.py, beta_code_execution_tool_20250825_param.py, beta_code_execution_tool_result_block_param.py, beta_compaction_block_param.py, beta_container_upload_block_param.py, beta_image_block_param.py, and 29 more.
Where is beta_cache_control_ephemeral_param.py in the architecture?
beta_cache_control_ephemeral_param.py is located at src/anthropic/types/beta/beta_cache_control_ephemeral_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