Home / Function/ test_raw_response_create() — anthropic-sdk-python Function Reference

test_raw_response_create() — anthropic-sdk-python Function Reference

Architecture documentation for the test_raw_response_create() function in test_versions.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  b3e33a58_b55b_2a6b_5fbe_3c80de21f887["test_raw_response_create()"]
  8f753624_1925_89ab_4014_446756ac9688["TestVersions"]
  b3e33a58_b55b_2a6b_5fbe_3c80de21f887 -->|defined in| 8f753624_1925_89ab_4014_446756ac9688
  785c8c5f_8bcd_9369_bc86_e1c69b4e4010["test_raw_response_create()"]
  785c8c5f_8bcd_9369_bc86_e1c69b4e4010 -->|calls| b3e33a58_b55b_2a6b_5fbe_3c80de21f887
  785c8c5f_8bcd_9369_bc86_e1c69b4e4010["test_raw_response_create()"]
  b3e33a58_b55b_2a6b_5fbe_3c80de21f887 -->|calls| 785c8c5f_8bcd_9369_bc86_e1c69b4e4010
  08e9c9e7_d7f9_615f_5837_b3de69122e37["assert_matches_type()"]
  b3e33a58_b55b_2a6b_5fbe_3c80de21f887 -->|calls| 08e9c9e7_d7f9_615f_5837_b3de69122e37
  style b3e33a58_b55b_2a6b_5fbe_3c80de21f887 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/api_resources/beta/skills/test_versions.py lines 46–54

    def test_raw_response_create(self, client: Anthropic) -> None:
        response = client.beta.skills.versions.with_raw_response.create(
            skill_id="skill_id",
        )

        assert response.is_closed is True
        assert response.http_request.headers.get("X-Stainless-Lang") == "python"
        version = response.parse()
        assert_matches_type(VersionCreateResponse, version, path=["response"])

Subdomains

Frequently Asked Questions

What does test_raw_response_create() do?
test_raw_response_create() is a function in the anthropic-sdk-python codebase, defined in tests/api_resources/beta/skills/test_versions.py.
Where is test_raw_response_create() defined?
test_raw_response_create() is defined in tests/api_resources/beta/skills/test_versions.py at line 46.
What does test_raw_response_create() call?
test_raw_response_create() calls 2 function(s): assert_matches_type, test_raw_response_create.
What calls test_raw_response_create()?
test_raw_response_create() is called by 1 function(s): test_raw_response_create.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free