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 293275ee_28a8_7c57_6a6b_e6391e207f87["with_raw_response()"] bafd0838_b212_5f78_7082_11123724d722["AsyncMessages"] 293275ee_28a8_7c57_6a6b_e6391e207f87 -->|defined in| bafd0838_b212_5f78_7082_11123724d722 eb8b46c3_fdc1_b7e3_1d1c_034699d6cbdb["with_raw_response()"] eb8b46c3_fdc1_b7e3_1d1c_034699d6cbdb -->|calls| 293275ee_28a8_7c57_6a6b_e6391e207f87 eb8b46c3_fdc1_b7e3_1d1c_034699d6cbdb["with_raw_response()"] 293275ee_28a8_7c57_6a6b_e6391e207f87 -->|calls| eb8b46c3_fdc1_b7e3_1d1c_034699d6cbdb style 293275ee_28a8_7c57_6a6b_e6391e207f87 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/anthropic/resources/messages/messages.py lines 1501–1508
def with_raw_response(self) -> AsyncMessagesWithRawResponse:
"""
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 AsyncMessagesWithRawResponse(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/messages/messages.py.
Where is with_raw_response() defined?
with_raw_response() is defined in src/anthropic/resources/messages/messages.py at line 1501.
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