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 AsyncAPI calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  a3ebcab0_87b3_4317_7344_f6720e1c3d1d["with_raw_response()"]
  ed21e472_8d52_b206_9c6d_e0ee6418c309["Beta"]
  a3ebcab0_87b3_4317_7344_f6720e1c3d1d -->|defined in| ed21e472_8d52_b206_9c6d_e0ee6418c309
  271e9617_0fdc_5005_1e1f_df26a2b4edb0["with_raw_response()"]
  271e9617_0fdc_5005_1e1f_df26a2b4edb0 -->|calls| a3ebcab0_87b3_4317_7344_f6720e1c3d1d
  271e9617_0fdc_5005_1e1f_df26a2b4edb0["with_raw_response()"]
  a3ebcab0_87b3_4317_7344_f6720e1c3d1d -->|calls| 271e9617_0fdc_5005_1e1f_df26a2b4edb0
  style a3ebcab0_87b3_4317_7344_f6720e1c3d1d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/anthropic/resources/beta/beta.py lines 61–68

    def with_raw_response(self) -> BetaWithRawResponse:
        """
        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 BetaWithRawResponse(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/resources/beta/beta.py.
Where is with_raw_response() defined?
with_raw_response() is defined in src/anthropic/resources/beta/beta.py at line 61.
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