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

Entity Profile

Dependency Diagram

graph TD
  d67a3835_3589_0f24_9bab_4cf3adf192c3["with_raw_response()"]
  00e4fd78_09b1_5b6a_8a40_a899317235b8["Models"]
  d67a3835_3589_0f24_9bab_4cf3adf192c3 -->|defined in| 00e4fd78_09b1_5b6a_8a40_a899317235b8
  befb458e_f213_4178_96d6_7415a0ebd5dc["with_raw_response()"]
  befb458e_f213_4178_96d6_7415a0ebd5dc -->|calls| d67a3835_3589_0f24_9bab_4cf3adf192c3
  befb458e_f213_4178_96d6_7415a0ebd5dc["with_raw_response()"]
  d67a3835_3589_0f24_9bab_4cf3adf192c3 -->|calls| befb458e_f213_4178_96d6_7415a0ebd5dc
  style d67a3835_3589_0f24_9bab_4cf3adf192c3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/anthropic/resources/beta/models.py lines 26–33

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