test_raw_response_create_overload_2() — anthropic-sdk-python Function Reference
Architecture documentation for the test_raw_response_create_overload_2() function in test_messages.py from the anthropic-sdk-python codebase.
Entity Profile
Dependency Diagram
graph TD 829fb40a_f4d8_4cce_3766_a94bf73e65c0["test_raw_response_create_overload_2()"] 8298da58_cf54_f234_c9e6_f284f44aa796["TestAsyncMessages"] 829fb40a_f4d8_4cce_3766_a94bf73e65c0 -->|defined in| 8298da58_cf54_f234_c9e6_f284f44aa796 d8489e37_be5f_4f7a_220e_9a5ff59e1741["test_raw_response_create_overload_2()"] d8489e37_be5f_4f7a_220e_9a5ff59e1741 -->|calls| 829fb40a_f4d8_4cce_3766_a94bf73e65c0 d8489e37_be5f_4f7a_220e_9a5ff59e1741["test_raw_response_create_overload_2()"] 829fb40a_f4d8_4cce_3766_a94bf73e65c0 -->|calls| d8489e37_be5f_4f7a_220e_9a5ff59e1741 style 829fb40a_f4d8_4cce_3766_a94bf73e65c0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/api_resources/beta/test_messages.py lines 920–935
async def test_raw_response_create_overload_2(self, async_client: AsyncAnthropic) -> None:
response = await async_client.beta.messages.with_raw_response.create(
max_tokens=1024,
messages=[
{
"content": "Hello, world",
"role": "user",
}
],
model="claude-opus-4-6",
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/beta/test_messages.py.
Where is test_raw_response_create_overload_2() defined?
test_raw_response_create_overload_2() is defined in tests/api_resources/beta/test_messages.py at line 920.
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