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

beta_cache_creation.py — anthropic-sdk-python Source File

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

File python AnthropicClient 1 imports 4 dependents 1 classes

Entity Profile

Dependency Diagram

graph LR
  a015a93b_6d4e_345e_a2a9_6bf8e9e1af57["beta_cache_creation.py"]
  d7545ba2_1c5a_45d4_ee14_f4e7f03f67c4["_models"]
  a015a93b_6d4e_345e_a2a9_6bf8e9e1af57 --> d7545ba2_1c5a_45d4_ee14_f4e7f03f67c4
  2f407a13_f2d9_e28f_3101_8d800d8f5c5f["__init__.py"]
  2f407a13_f2d9_e28f_3101_8d800d8f5c5f --> a015a93b_6d4e_345e_a2a9_6bf8e9e1af57
  2d7785ba_87c7_f589_3208_78002fadb3bc["beta_compaction_iteration_usage.py"]
  2d7785ba_87c7_f589_3208_78002fadb3bc --> a015a93b_6d4e_345e_a2a9_6bf8e9e1af57
  8502555c_8939_386e_e4e0_71eb940307fc["beta_message_iteration_usage.py"]
  8502555c_8939_386e_e4e0_71eb940307fc --> a015a93b_6d4e_345e_a2a9_6bf8e9e1af57
  530a9ffe_832b_b58c_d86b_de3dbb180ab3["beta_usage.py"]
  530a9ffe_832b_b58c_d86b_de3dbb180ab3 --> a015a93b_6d4e_345e_a2a9_6bf8e9e1af57
  style a015a93b_6d4e_345e_a2a9_6bf8e9e1af57 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from ..._models import BaseModel

__all__ = ["BetaCacheCreation"]


class BetaCacheCreation(BaseModel):
    ephemeral_1h_input_tokens: int
    """The number of input tokens used to create the 1 hour cache entry."""

    ephemeral_5m_input_tokens: int
    """The number of input tokens used to create the 5 minute cache entry."""

Dependencies

  • _models

Frequently Asked Questions

What does beta_cache_creation.py do?
beta_cache_creation.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does beta_cache_creation.py depend on?
beta_cache_creation.py imports 1 module(s): _models.
What files import beta_cache_creation.py?
beta_cache_creation.py is imported by 4 file(s): __init__.py, beta_compaction_iteration_usage.py, beta_message_iteration_usage.py, beta_usage.py.
Where is beta_cache_creation.py in the architecture?
beta_cache_creation.py is located at src/anthropic/types/beta/beta_cache_creation.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