with_raw_response() — anthropic-sdk-python Function Reference
Architecture documentation for the with_raw_response() function in completions.py from the anthropic-sdk-python codebase.
Entity Profile
Dependency Diagram
graph TD b85740cf_acfb_13af_8c4d_20f22920c4b1["with_raw_response()"] 239057dd_0ecb_e90d_0d61_ae3f0bfadde4["AsyncCompletions"] b85740cf_acfb_13af_8c4d_20f22920c4b1 -->|defined in| 239057dd_0ecb_e90d_0d61_ae3f0bfadde4 e7dc1bf7_d881_2795_1238_000f2f830977["with_raw_response()"] e7dc1bf7_d881_2795_1238_000f2f830977 -->|calls| b85740cf_acfb_13af_8c4d_20f22920c4b1 e7dc1bf7_d881_2795_1238_000f2f830977["with_raw_response()"] b85740cf_acfb_13af_8c4d_20f22920c4b1 -->|calls| e7dc1bf7_d881_2795_1238_000f2f830977 style b85740cf_acfb_13af_8c4d_20f22920c4b1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/anthropic/resources/completions.py lines 422–429
def with_raw_response(self) -> AsyncCompletionsWithRawResponse:
"""
This property can be used as a prefix for any HTTP method call to return
the raw response object instead of the parsed content.
For more information, see https://www.github.com/anthropics/anthropic-sdk-python#accessing-raw-response-data-eg-headers
"""
return AsyncCompletionsWithRawResponse(self)
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does with_raw_response() do?
with_raw_response() is a function in the anthropic-sdk-python codebase, defined in src/anthropic/resources/completions.py.
Where is with_raw_response() defined?
with_raw_response() is defined in src/anthropic/resources/completions.py at line 422.
What does with_raw_response() call?
with_raw_response() calls 1 function(s): with_raw_response.
What calls with_raw_response()?
with_raw_response() is called by 1 function(s): with_raw_response.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free