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

Entity Profile

Dependency Diagram

graph TD
  2c89f89b_e2c5_4bc5_a71b_be4e3e3fc821["with_raw_response()"]
  ed73efe2_f340_c24f_2bf4_933c18889495["AsyncBatches"]
  2c89f89b_e2c5_4bc5_a71b_be4e3e3fc821 -->|defined in| ed73efe2_f340_c24f_2bf4_933c18889495
  6bb3d9b9_9e89_c7af_9e6d_aa0cf31cdac6["with_raw_response()"]
  6bb3d9b9_9e89_c7af_9e6d_aa0cf31cdac6 -->|calls| 2c89f89b_e2c5_4bc5_a71b_be4e3e3fc821
  6bb3d9b9_9e89_c7af_9e6d_aa0cf31cdac6["with_raw_response()"]
  2c89f89b_e2c5_4bc5_a71b_be4e3e3fc821 -->|calls| 6bb3d9b9_9e89_c7af_9e6d_aa0cf31cdac6
  style 2c89f89b_e2c5_4bc5_a71b_be4e3e3fc821 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/anthropic/resources/beta/messages/batches.py lines 418–425

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