test_raw_response_create_overload_2() — anthropic-sdk-python Function Reference
Architecture documentation for the test_raw_response_create_overload_2() function in test_completions.py from the anthropic-sdk-python codebase.
Entity Profile
Dependency Diagram
graph TD 14161fb5_7ee1_f957_ccd4_c3a4ed8ecc65["test_raw_response_create_overload_2()"] 5d2d6298_bff1_a153_810f_431fb4f06edc["TestAsyncCompletions"] 14161fb5_7ee1_f957_ccd4_c3a4ed8ecc65 -->|defined in| 5d2d6298_bff1_a153_810f_431fb4f06edc 3cd894ba_8ce5_b351_5a70_5b39fb4986c6["test_raw_response_create_overload_2()"] 3cd894ba_8ce5_b351_5a70_5b39fb4986c6 -->|calls| 14161fb5_7ee1_f957_ccd4_c3a4ed8ecc65 3cd894ba_8ce5_b351_5a70_5b39fb4986c6["test_raw_response_create_overload_2()"] 14161fb5_7ee1_f957_ccd4_c3a4ed8ecc65 -->|calls| 3cd894ba_8ce5_b351_5a70_5b39fb4986c6 style 14161fb5_7ee1_f957_ccd4_c3a4ed8ecc65 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/api_resources/test_completions.py lines 214–224
async def test_raw_response_create_overload_2(self, async_client: AsyncAnthropic) -> None:
response = await async_client.completions.with_raw_response.create(
max_tokens_to_sample=256,
model="claude-opus-4-6",
prompt="\n\nHuman: Hello, world!\n\nAssistant:",
stream=True,
)
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
stream = response.parse()
await stream.close()
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does test_raw_response_create_overload_2() do?
test_raw_response_create_overload_2() is a function in the anthropic-sdk-python codebase, defined in tests/api_resources/test_completions.py.
Where is test_raw_response_create_overload_2() defined?
test_raw_response_create_overload_2() is defined in tests/api_resources/test_completions.py at line 214.
What does test_raw_response_create_overload_2() call?
test_raw_response_create_overload_2() calls 1 function(s): test_raw_response_create_overload_2.
What calls test_raw_response_create_overload_2()?
test_raw_response_create_overload_2() is called by 1 function(s): test_raw_response_create_overload_2.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free