AsyncAnthropicWithStreamedResponse Class — anthropic-sdk-python Architecture
Architecture documentation for the AsyncAnthropicWithStreamedResponse class in _client.py from the anthropic-sdk-python codebase.
Entity Profile
Dependency Diagram
graph TD 38482205_b257_bb25_4136_4fe1fa43cef4["AsyncAnthropicWithStreamedResponse"] 3a4e7de9_0222_597c_a697_7ff97bd0dafc["_client.py"] 38482205_b257_bb25_4136_4fe1fa43cef4 -->|defined in| 3a4e7de9_0222_597c_a697_7ff97bd0dafc 516dde0b_5fe5_e185_8c7a_42520001a528["__init__()"] 38482205_b257_bb25_4136_4fe1fa43cef4 -->|method| 516dde0b_5fe5_e185_8c7a_42520001a528 ff6c347e_38fa_a420_0e6f_de38e62115da["completions()"] 38482205_b257_bb25_4136_4fe1fa43cef4 -->|method| ff6c347e_38fa_a420_0e6f_de38e62115da 1a023746_049f_213e_f8fd_e532a7d442da["messages()"] 38482205_b257_bb25_4136_4fe1fa43cef4 -->|method| 1a023746_049f_213e_f8fd_e532a7d442da 958cf950_0053_7db5_4fee_810d283f6c41["models()"] 38482205_b257_bb25_4136_4fe1fa43cef4 -->|method| 958cf950_0053_7db5_4fee_810d283f6c41 7428cee3_c81e_479a_8c41_ba05fd3145e6["beta()"] 38482205_b257_bb25_4136_4fe1fa43cef4 -->|method| 7428cee3_c81e_479a_8c41_ba05fd3145e6
Relationship Graph
Source Code
src/anthropic/_client.py lines 620–648
class AsyncAnthropicWithStreamedResponse:
_client: AsyncAnthropic
def __init__(self, client: AsyncAnthropic) -> None:
self._client = client
@cached_property
def completions(self) -> completions.AsyncCompletionsWithStreamingResponse:
from .resources.completions import AsyncCompletionsWithStreamingResponse
return AsyncCompletionsWithStreamingResponse(self._client.completions)
@cached_property
def messages(self) -> messages.AsyncMessagesWithStreamingResponse:
from .resources.messages import AsyncMessagesWithStreamingResponse
return AsyncMessagesWithStreamingResponse(self._client.messages)
@cached_property
def models(self) -> models.AsyncModelsWithStreamingResponse:
from .resources.models import AsyncModelsWithStreamingResponse
return AsyncModelsWithStreamingResponse(self._client.models)
@cached_property
def beta(self) -> beta.AsyncBetaWithStreamingResponse:
from .resources.beta import AsyncBetaWithStreamingResponse
return AsyncBetaWithStreamingResponse(self._client.beta)
Domain
Defined In
Source
Frequently Asked Questions
What is the AsyncAnthropicWithStreamedResponse class?
AsyncAnthropicWithStreamedResponse is a class in the anthropic-sdk-python codebase, defined in src/anthropic/_client.py.
Where is AsyncAnthropicWithStreamedResponse defined?
AsyncAnthropicWithStreamedResponse is defined in src/anthropic/_client.py at line 620.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free