cache_creation.py — anthropic-sdk-python Source File
Architecture documentation for cache_creation.py, a python file in the anthropic-sdk-python codebase. 1 imports, 2 dependents.
Entity Profile
Dependency Diagram
graph LR 9f2b3880_0e8c_98d1_1399_fca73019c7a2["cache_creation.py"] 699c911a_fb78_b883_732f_5ac6bf31d4a3["_models"] 9f2b3880_0e8c_98d1_1399_fca73019c7a2 --> 699c911a_fb78_b883_732f_5ac6bf31d4a3 2eb1aa7f_c778_4d68_0a26_a102fadd9638["__init__.py"] 2eb1aa7f_c778_4d68_0a26_a102fadd9638 --> 9f2b3880_0e8c_98d1_1399_fca73019c7a2 a3d73c4a_4724_f0e3_fa64_0bb3dd55cd5e["usage.py"] a3d73c4a_4724_f0e3_fa64_0bb3dd55cd5e --> 9f2b3880_0e8c_98d1_1399_fca73019c7a2 style 9f2b3880_0e8c_98d1_1399_fca73019c7a2 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__ = ["CacheCreation"]
class CacheCreation(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."""
Domain
Classes
Dependencies
- _models
Source
Frequently Asked Questions
What does cache_creation.py do?
cache_creation.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does cache_creation.py depend on?
cache_creation.py imports 1 module(s): _models.
What files import cache_creation.py?
cache_creation.py is imported by 2 file(s): __init__.py, usage.py.
Where is cache_creation.py in the architecture?
cache_creation.py is located at src/anthropic/types/cache_creation.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