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.py from the anthropic-sdk-python codebase.

Function python AnthropicClient SyncAPI calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  ca2b910c_4db1_10fe_d00e_0acc0d1f82ec["with_raw_response()"]
  89b7a5c3_e0ee_08cb_29c0_c570ef6cc7a6["AsyncBeta"]
  ca2b910c_4db1_10fe_d00e_0acc0d1f82ec -->|defined in| 89b7a5c3_e0ee_08cb_29c0_c570ef6cc7a6
  a104dafd_38b5_1d54_f8c2_a20ba5030b00["with_raw_response()"]
  a104dafd_38b5_1d54_f8c2_a20ba5030b00 -->|calls| ca2b910c_4db1_10fe_d00e_0acc0d1f82ec
  a104dafd_38b5_1d54_f8c2_a20ba5030b00["with_raw_response()"]
  ca2b910c_4db1_10fe_d00e_0acc0d1f82ec -->|calls| a104dafd_38b5_1d54_f8c2_a20ba5030b00
  style ca2b910c_4db1_10fe_d00e_0acc0d1f82ec fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/anthropic/lib/bedrock/_beta.py lines 50–57

    def with_raw_response(self) -> AsyncBetaWithRawResponse:
        """
        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 AsyncBetaWithRawResponse(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/bedrock/_beta.py.
Where is with_raw_response() defined?
with_raw_response() is defined in src/anthropic/lib/bedrock/_beta.py at line 50.
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