BetaCacheCreation Class — anthropic-sdk-python Architecture
Architecture documentation for the BetaCacheCreation class in beta_cache_creation.py from the anthropic-sdk-python codebase.
Entity Profile
Dependency Diagram
graph TD 524d8b1b_8108_1804_0769_0009cff2d3fc["BetaCacheCreation"] 17ce5647_6f06_0676_a4a5_e378a3f57cb1["BaseModel"] 524d8b1b_8108_1804_0769_0009cff2d3fc -->|extends| 17ce5647_6f06_0676_a4a5_e378a3f57cb1 282148a6_0b81_0191_bdbc_8d40c14228ac["beta_cache_creation.py"] 524d8b1b_8108_1804_0769_0009cff2d3fc -->|defined in| 282148a6_0b81_0191_bdbc_8d40c14228ac
Relationship Graph
Source Code
src/anthropic/types/beta/beta_cache_creation.py lines 8–13
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."""
Domain
Extends
Source
Frequently Asked Questions
What is the BetaCacheCreation class?
BetaCacheCreation is a class in the anthropic-sdk-python codebase, defined in src/anthropic/types/beta/beta_cache_creation.py.
Where is BetaCacheCreation defined?
BetaCacheCreation is defined in src/anthropic/types/beta/beta_cache_creation.py at line 8.
What does BetaCacheCreation extend?
BetaCacheCreation extends BaseModel.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free