Home / Function/ assert_incomplete_partial_input_response() — anthropic-sdk-python Function Reference

assert_incomplete_partial_input_response() — anthropic-sdk-python Function Reference

Architecture documentation for the assert_incomplete_partial_input_response() function in test_beta_messages.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  a2ff7c83_4d2b_9970_c545_c709b7a67707["assert_incomplete_partial_input_response()"]
  239f7d64_6d26_d418_04e3_d586fe367986["test_beta_messages.py"]
  a2ff7c83_4d2b_9970_c545_c709b7a67707 -->|defined in| 239f7d64_6d26_d418_04e3_d586fe367986
  f7761867_036e_f45b_09c1_0edd0d7dfaaa["test_incomplete_response()"]
  f7761867_036e_f45b_09c1_0edd0d7dfaaa -->|calls| a2ff7c83_4d2b_9970_c545_c709b7a67707
  b6dcecb2_d1cc_b379_c8e2_2beae6f86849["assert_message_matches()"]
  a2ff7c83_4d2b_9970_c545_c709b7a67707 -->|calls| b6dcecb2_d1cc_b379_c8e2_2beae6f86849
  style a2ff7c83_4d2b_9970_c545_c709b7a67707 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/lib/streaming/test_beta_messages.py lines 183–185

def assert_incomplete_partial_input_response(events: list[ParsedBetaMessageStreamEvent], message: BetaMessage) -> None:
    assert_message_matches(message, EXPECTED_INCOMPLETE_MESSAGE)
    assert [e.type for e in events] == EXPECTED_INCOMPLETE_EVENT_TYPES

Subdomains

Frequently Asked Questions

What does assert_incomplete_partial_input_response() do?
assert_incomplete_partial_input_response() is a function in the anthropic-sdk-python codebase, defined in tests/lib/streaming/test_beta_messages.py.
Where is assert_incomplete_partial_input_response() defined?
assert_incomplete_partial_input_response() is defined in tests/lib/streaming/test_beta_messages.py at line 183.
What does assert_incomplete_partial_input_response() call?
assert_incomplete_partial_input_response() calls 1 function(s): assert_message_matches.
What calls assert_incomplete_partial_input_response()?
assert_incomplete_partial_input_response() is called by 1 function(s): test_incomplete_response.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free