Home / Function/ with_raw_response() — anthropic-sdk-python Function Reference

with_raw_response() — anthropic-sdk-python Function Reference

Architecture documentation for the with_raw_response() function in _beta_messages.py from the anthropic-sdk-python codebase.

Function python AnthropicClient SyncAPI calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  6515c4c2_1c20_6eb3_9943_bc2d8d246557["with_raw_response()"]
  c5e503a1_4560_6ed8_182b_6b790f24ef7a["AsyncMessages"]
  6515c4c2_1c20_6eb3_9943_bc2d8d246557 -->|defined in| c5e503a1_4560_6ed8_182b_6b790f24ef7a
  ffa28681_827f_818a_08e7_ea3fe26e56db["with_raw_response()"]
  ffa28681_827f_818a_08e7_ea3fe26e56db -->|calls| 6515c4c2_1c20_6eb3_9943_bc2d8d246557
  ffa28681_827f_818a_08e7_ea3fe26e56db["with_raw_response()"]
  6515c4c2_1c20_6eb3_9943_bc2d8d246557 -->|calls| ffa28681_827f_818a_08e7_ea3fe26e56db
  style 6515c4c2_1c20_6eb3_9943_bc2d8d246557 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/anthropic/lib/vertex/_beta_messages.py lines 45–52

    def with_raw_response(self) -> AsyncMessagesWithRawResponse:
        """
        This property can be used as a prefix for any HTTP method call to return the
        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)

Subdomains

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/lib/vertex/_beta_messages.py.
Where is with_raw_response() defined?
with_raw_response() is defined in src/anthropic/lib/vertex/_beta_messages.py at line 45.
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