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 d8489e37_be5f_4f7a_220e_9a5ff59e1741["test_raw_response_create_overload_2()"] 604dfa4e_bd5e_7540_86fa_53420d0e35a5["TestMessages"] d8489e37_be5f_4f7a_220e_9a5ff59e1741 -->|defined in| 604dfa4e_bd5e_7540_86fa_53420d0e35a5 829fb40a_f4d8_4cce_3766_a94bf73e65c0["test_raw_response_create_overload_2()"] 829fb40a_f4d8_4cce_3766_a94bf73e65c0 -->|calls| d8489e37_be5f_4f7a_220e_9a5ff59e1741 829fb40a_f4d8_4cce_3766_a94bf73e65c0["test_raw_response_create_overload_2()"] d8489e37_be5f_4f7a_220e_9a5ff59e1741 -->|calls| 829fb40a_f4d8_4cce_3766_a94bf73e65c0 style d8489e37_be5f_4f7a_220e_9a5ff59e1741 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/api_resources/beta/test_messages.py lines 359–374
def test_raw_response_create_overload_2(self, client: Anthropic) -> None:
response = 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()
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 359.
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