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

Function python AnthropicClient AsyncAPI calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  32d5c7d9_02b8_7da8_d65c_f2d59a40708c["with_raw_response()"]
  3e08ebfe_73a6_0f3e_2027_4a081297bec5["Files"]
  32d5c7d9_02b8_7da8_d65c_f2d59a40708c -->|defined in| 3e08ebfe_73a6_0f3e_2027_4a081297bec5
  691996d4_bfc5_844e_b7b9_723fd3d0bc16["with_raw_response()"]
  691996d4_bfc5_844e_b7b9_723fd3d0bc16 -->|calls| 32d5c7d9_02b8_7da8_d65c_f2d59a40708c
  691996d4_bfc5_844e_b7b9_723fd3d0bc16["with_raw_response()"]
  32d5c7d9_02b8_7da8_d65c_f2d59a40708c -->|calls| 691996d4_bfc5_844e_b7b9_723fd3d0bc16
  style 32d5c7d9_02b8_7da8_d65c_f2d59a40708c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/anthropic/resources/beta/files.py lines 39–46

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