test_raw_response_create_overload_1() — anthropic-sdk-python Function Reference
Architecture documentation for the test_raw_response_create_overload_1() function in test_messages.py from the anthropic-sdk-python codebase.
Entity Profile
Dependency Diagram
graph TD 722ad975_379b_7ace_0838_44fe8a0a9735["test_raw_response_create_overload_1()"] 604dfa4e_bd5e_7540_86fa_53420d0e35a5["TestMessages"] 722ad975_379b_7ace_0838_44fe8a0a9735 -->|defined in| 604dfa4e_bd5e_7540_86fa_53420d0e35a5 cb7c89c3_53dd_fd4a_3883_6239d9fce038["test_raw_response_create_overload_1()"] cb7c89c3_53dd_fd4a_3883_6239d9fce038 -->|calls| 722ad975_379b_7ace_0838_44fe8a0a9735 cb7c89c3_53dd_fd4a_3883_6239d9fce038["test_raw_response_create_overload_1()"] 722ad975_379b_7ace_0838_44fe8a0a9735 -->|calls| cb7c89c3_53dd_fd4a_3883_6239d9fce038 08e9c9e7_d7f9_615f_5837_b3de69122e37["assert_matches_type()"] 722ad975_379b_7ace_0838_44fe8a0a9735 -->|calls| 08e9c9e7_d7f9_615f_5837_b3de69122e37 style 722ad975_379b_7ace_0838_44fe8a0a9735 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/api_resources/beta/test_messages.py lines 172–187
def test_raw_response_create_overload_1(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",
)
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
message = response.parse()
assert_matches_type(BetaMessage, message, path=["response"])
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does test_raw_response_create_overload_1() do?
test_raw_response_create_overload_1() 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_1() defined?
test_raw_response_create_overload_1() is defined in tests/api_resources/beta/test_messages.py at line 172.
What does test_raw_response_create_overload_1() call?
test_raw_response_create_overload_1() calls 2 function(s): assert_matches_type, test_raw_response_create_overload_1.
What calls test_raw_response_create_overload_1()?
test_raw_response_create_overload_1() is called by 1 function(s): test_raw_response_create_overload_1.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free