with_raw_response() — anthropic-sdk-python Function Reference
Architecture documentation for the with_raw_response() function in messages.py from the anthropic-sdk-python codebase.
Entity Profile
Dependency Diagram
graph TD fbfc0407_406e_2a75_717c_fd079a5f54a0["with_raw_response()"] 8c902234_0aa5_f23d_186e_7c523acb8fed["Messages"] fbfc0407_406e_2a75_717c_fd079a5f54a0 -->|defined in| 8c902234_0aa5_f23d_186e_7c523acb8fed c14f94ad_a248_67a3_78cf_596e98c6e803["with_raw_response()"] c14f94ad_a248_67a3_78cf_596e98c6e803 -->|calls| fbfc0407_406e_2a75_717c_fd079a5f54a0 c14f94ad_a248_67a3_78cf_596e98c6e803["with_raw_response()"] fbfc0407_406e_2a75_717c_fd079a5f54a0 -->|calls| c14f94ad_a248_67a3_78cf_596e98c6e803 style fbfc0407_406e_2a75_717c_fd079a5f54a0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/anthropic/resources/beta/messages/messages.py lines 88–95
def with_raw_response(self) -> MessagesWithRawResponse:
"""
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 MessagesWithRawResponse(self)
Domain
Subdomains
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/beta/messages/messages.py.
Where is with_raw_response() defined?
with_raw_response() is defined in src/anthropic/resources/beta/messages/messages.py at line 88.
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