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.

Function python AnthropicClient SyncAPI calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  4e0f9f5d_d08b_2976_0c7f_20b41ca3fd9c["with_raw_response()"]
  c731f4b8_455b_5488_a095_755b0070aedd["AsyncBatches"]
  4e0f9f5d_d08b_2976_0c7f_20b41ca3fd9c -->|defined in| c731f4b8_455b_5488_a095_755b0070aedd
  5fc08c95_6111_b509_a2d5_a1696176fb2b["with_raw_response()"]
  5fc08c95_6111_b509_a2d5_a1696176fb2b -->|calls| 4e0f9f5d_d08b_2976_0c7f_20b41ca3fd9c
  5fc08c95_6111_b509_a2d5_a1696176fb2b["with_raw_response()"]
  4e0f9f5d_d08b_2976_0c7f_20b41ca3fd9c -->|calls| 5fc08c95_6111_b509_a2d5_a1696176fb2b
  style 4e0f9f5d_d08b_2976_0c7f_20b41ca3fd9c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/anthropic/resources/messages/batches.py lines 332–339

    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/messages/batches.py.
Where is with_raw_response() defined?
with_raw_response() is defined in src/anthropic/resources/messages/batches.py at line 332.
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