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 3cd894ba_8ce5_b351_5a70_5b39fb4986c6["test_raw_response_create_overload_2()"] ab2c04b0_828b_bb78_079a_babbdf3057a0["TestCompletions"] 3cd894ba_8ce5_b351_5a70_5b39fb4986c6 -->|defined in| ab2c04b0_828b_bb78_079a_babbdf3057a0 14161fb5_7ee1_f957_ccd4_c3a4ed8ecc65["test_raw_response_create_overload_2()"] 14161fb5_7ee1_f957_ccd4_c3a4ed8ecc65 -->|calls| 3cd894ba_8ce5_b351_5a70_5b39fb4986c6 14161fb5_7ee1_f957_ccd4_c3a4ed8ecc65["test_raw_response_create_overload_2()"] 3cd894ba_8ce5_b351_5a70_5b39fb4986c6 -->|calls| 14161fb5_7ee1_f957_ccd4_c3a4ed8ecc65 style 3cd894ba_8ce5_b351_5a70_5b39fb4986c6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/api_resources/test_completions.py lines 100–110
def test_raw_response_create_overload_2(self, client: Anthropic) -> None:
response = 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()
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 100.
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