until_done() — anthropic-sdk-python Function Reference
Architecture documentation for the until_done() function in _beta_messages.py from the anthropic-sdk-python codebase.
Entity Profile
Dependency Diagram
graph TD 9137206e_3937_7fd5_2948_649e0b33112b["until_done()"] fa27ef0f_31e3_cd5e_ffa3_12becd4b426b["BetaMessageStream"] 9137206e_3937_7fd5_2948_649e0b33112b -->|defined in| fa27ef0f_31e3_cd5e_ffa3_12becd4b426b a493aa49_e2c3_381a_28e6_6809172e402a["get_final_message()"] a493aa49_e2c3_381a_28e6_6809172e402a -->|calls| 9137206e_3937_7fd5_2948_649e0b33112b 1b280af0_fc5d_c3ea_3f9e_afe795826544["until_done()"] 1b280af0_fc5d_c3ea_3f9e_afe795826544 -->|calls| 9137206e_3937_7fd5_2948_649e0b33112b 1b280af0_fc5d_c3ea_3f9e_afe795826544["until_done()"] 9137206e_3937_7fd5_2948_649e0b33112b -->|calls| 1b280af0_fc5d_c3ea_3f9e_afe795826544 style 9137206e_3937_7fd5_2948_649e0b33112b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/anthropic/lib/streaming/_beta_messages.py lines 121–123
def until_done(self) -> None:
"""Blocks until the stream has been consumed"""
consume_sync_iterator(self)
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does until_done() do?
until_done() is a function in the anthropic-sdk-python codebase, defined in src/anthropic/lib/streaming/_beta_messages.py.
Where is until_done() defined?
until_done() is defined in src/anthropic/lib/streaming/_beta_messages.py at line 121.
What does until_done() call?
until_done() calls 1 function(s): until_done.
What calls until_done()?
until_done() is called by 2 function(s): get_final_message, until_done.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free