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 3b272c1f_e14a_a9a2_ddda_e6af74125eaa["AsyncBeta"] f98629a5_73f4_23f2_1f7f_c8db837848d1["AsyncAPIResource"] 3b272c1f_e14a_a9a2_ddda_e6af74125eaa -->|extends| f98629a5_73f4_23f2_1f7f_c8db837848d1 c67615a5_6c22_f3a8_22e6_6badfeba0703["_beta.py"] 3b272c1f_e14a_a9a2_ddda_e6af74125eaa -->|defined in| c67615a5_6c22_f3a8_22e6_6badfeba0703 2121dd2d_b219_5241_7606_0f1d61455570["messages()"] 3b272c1f_e14a_a9a2_ddda_e6af74125eaa -->|method| 2121dd2d_b219_5241_7606_0f1d61455570 23946897_69e6_c938_a117_6b35882d5b01["with_raw_response()"] 3b272c1f_e14a_a9a2_ddda_e6af74125eaa -->|method| 23946897_69e6_c938_a117_6b35882d5b01 6270da0c_cdd9_fee7_a04b_0175f0e4c365["with_streaming_response()"] 3b272c1f_e14a_a9a2_ddda_e6af74125eaa -->|method| 6270da0c_cdd9_fee7_a04b_0175f0e4c365
Relationship Graph
Source Code
src/anthropic/lib/vertex/_beta.py lines 44–66
class AsyncBeta(AsyncAPIResource):
@cached_property
def messages(self) -> AsyncMessages:
return AsyncMessages(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
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/lib/vertex/_beta.py.
Where is AsyncBeta defined?
AsyncBeta is defined in src/anthropic/lib/vertex/_beta.py at line 44.
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