AsyncBeta Class — anthropic-sdk-python Architecture
Architecture documentation for the AsyncBeta class in beta.py from the anthropic-sdk-python codebase.
Entity Profile
Dependency Diagram
graph TD 6be31468_ecab_6293_8b83_58dabfb05975["AsyncBeta"] f98629a5_73f4_23f2_1f7f_c8db837848d1["AsyncAPIResource"] 6be31468_ecab_6293_8b83_58dabfb05975 -->|extends| f98629a5_73f4_23f2_1f7f_c8db837848d1 0eaba4b3_9f2d_ace9_806f_c3ed27e4126f["beta.py"] 6be31468_ecab_6293_8b83_58dabfb05975 -->|defined in| 0eaba4b3_9f2d_ace9_806f_c3ed27e4126f 30015d09_7843_eb07_9924_f8a6dd0eebf4["models()"] 6be31468_ecab_6293_8b83_58dabfb05975 -->|method| 30015d09_7843_eb07_9924_f8a6dd0eebf4 b5da7723_58c2_386d_6a81_7fe3b64c6748["messages()"] 6be31468_ecab_6293_8b83_58dabfb05975 -->|method| b5da7723_58c2_386d_6a81_7fe3b64c6748 79561f7d_d1e1_dc6a_7c43_0200f93135b1["files()"] 6be31468_ecab_6293_8b83_58dabfb05975 -->|method| 79561f7d_d1e1_dc6a_7c43_0200f93135b1 0e9db7a2_51e4_92b7_996f_a676a37777d4["skills()"] 6be31468_ecab_6293_8b83_58dabfb05975 -->|method| 0e9db7a2_51e4_92b7_996f_a676a37777d4 271e9617_0fdc_5005_1e1f_df26a2b4edb0["with_raw_response()"] 6be31468_ecab_6293_8b83_58dabfb05975 -->|method| 271e9617_0fdc_5005_1e1f_df26a2b4edb0 ab20493c_b331_03ef_0d98_edcc8f559f22["with_streaming_response()"] 6be31468_ecab_6293_8b83_58dabfb05975 -->|method| ab20493c_b331_03ef_0d98_edcc8f559f22
Relationship Graph
Source Code
src/anthropic/resources/beta/beta.py lines 80–114
class AsyncBeta(AsyncAPIResource):
@cached_property
def models(self) -> AsyncModels:
return AsyncModels(self._client)
@cached_property
def messages(self) -> AsyncMessages:
return AsyncMessages(self._client)
@cached_property
def files(self) -> AsyncFiles:
return AsyncFiles(self._client)
@cached_property
def skills(self) -> AsyncSkills:
return AsyncSkills(self._client)
@cached_property
def with_raw_response(self) -> AsyncBetaWithRawResponse:
"""
This property can be used as a prefix for any HTTP method call to return
the raw response object instead of the parsed content.
For more information, see https://www.github.com/anthropics/anthropic-sdk-python#accessing-raw-response-data-eg-headers
"""
return AsyncBetaWithRawResponse(self)
@cached_property
def with_streaming_response(self) -> AsyncBetaWithStreamingResponse:
"""
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
For more information, see https://www.github.com/anthropics/anthropic-sdk-python#with_streaming_response
"""
return AsyncBetaWithStreamingResponse(self)
Domain
Defined In
Extends
Source
Frequently Asked Questions
What is the AsyncBeta class?
AsyncBeta is a class in the anthropic-sdk-python codebase, defined in src/anthropic/resources/beta/beta.py.
Where is AsyncBeta defined?
AsyncBeta is defined in src/anthropic/resources/beta/beta.py at line 80.
What does AsyncBeta extend?
AsyncBeta extends AsyncAPIResource.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free