test_method_create_with_all_params() — anthropic-sdk-python Function Reference
Architecture documentation for the test_method_create_with_all_params() function in test_batches.py from the anthropic-sdk-python codebase.
Entity Profile
Dependency Diagram
graph TD 169ccc96_de26_1819_7693_61f15dd5aa11["test_method_create_with_all_params()"] 4fd27e2e_c95e_1ba6_4183_6ea591b00faa["TestBatches"] 169ccc96_de26_1819_7693_61f15dd5aa11 -->|defined in| 4fd27e2e_c95e_1ba6_4183_6ea591b00faa a6a3b394_7d71_3f9e_c1a8_2e163f2826a5["test_method_create_with_all_params()"] a6a3b394_7d71_3f9e_c1a8_2e163f2826a5 -->|calls| 169ccc96_de26_1819_7693_61f15dd5aa11 a6a3b394_7d71_3f9e_c1a8_2e163f2826a5["test_method_create_with_all_params()"] 169ccc96_de26_1819_7693_61f15dd5aa11 -->|calls| a6a3b394_7d71_3f9e_c1a8_2e163f2826a5 08e9c9e7_d7f9_615f_5837_b3de69122e37["assert_matches_type()"] 169ccc96_de26_1819_7693_61f15dd5aa11 -->|calls| 08e9c9e7_d7f9_615f_5837_b3de69122e37 style 169ccc96_de26_1819_7693_61f15dd5aa11 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/api_resources/beta/messages/test_batches.py lines 51–185
def test_method_create_with_all_params(self, client: Anthropic) -> None:
batch = client.beta.messages.batches.create(
requests=[
{
"custom_id": "my-custom-id-1",
"params": {
"max_tokens": 1024,
"messages": [
{
"content": "Hello, world",
"role": "user",
}
],
"model": "claude-opus-4-6",
"container": {
"id": "id",
"skills": [
{
"skill_id": "x",
"type": "anthropic",
"version": "x",
}
],
},
"context_management": {
"edits": [
{
"type": "clear_tool_uses_20250919",
"clear_at_least": {
"type": "input_tokens",
"value": 0,
},
"clear_tool_inputs": True,
"exclude_tools": ["string"],
"keep": {
"type": "tool_uses",
"value": 0,
},
"trigger": {
"type": "input_tokens",
"value": 1,
},
}
]
},
"inference_geo": "inference_geo",
"mcp_servers": [
{
"name": "name",
"type": "url",
"url": "url",
"authorization_token": "authorization_token",
"tool_configuration": {
"allowed_tools": ["string"],
"enabled": True,
},
}
],
"metadata": {"user_id": "13803d75-b4b5-4c3e-b2a2-6f21399b021b"},
"output_config": {
"effort": "low",
"format": {
"schema": {"foo": "bar"},
"type": "json_schema",
},
},
"output_format": {
"schema": {"foo": "bar"},
"type": "json_schema",
},
"service_tier": "auto",
"speed": "standard",
"stop_sequences": ["string"],
"stream": False,
"system": [
{
"text": "Today's date is 2024-06-01.",
"type": "text",
"cache_control": {
"type": "ephemeral",
"ttl": "5m",
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does test_method_create_with_all_params() do?
test_method_create_with_all_params() is a function in the anthropic-sdk-python codebase, defined in tests/api_resources/beta/messages/test_batches.py.
Where is test_method_create_with_all_params() defined?
test_method_create_with_all_params() is defined in tests/api_resources/beta/messages/test_batches.py at line 51.
What does test_method_create_with_all_params() call?
test_method_create_with_all_params() calls 2 function(s): assert_matches_type, test_method_create_with_all_params.
What calls test_method_create_with_all_params()?
test_method_create_with_all_params() is called by 1 function(s): test_method_create_with_all_params.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free