Skip to content

Commit

Permalink
chore(internal): update examples (#810)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Jan 7, 2025
1 parent 7d678f1 commit bb588ca
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions tests/api_resources/beta/messages/test_batches.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def test_method_create_with_all_params(self, client: Anthropic) -> None:
},
},
},
"name": "x",
"name": "name",
"cache_control": {"type": "ephemeral"},
"description": "Get the current weather in a given location",
"type": "custom",
Expand Down Expand Up @@ -441,7 +441,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncAnthropic)
},
},
},
"name": "x",
"name": "name",
"cache_control": {"type": "ephemeral"},
"description": "Get the current weather in a given location",
"type": "custom",
Expand Down
12 changes: 6 additions & 6 deletions tests/api_resources/beta/test_messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def test_method_create_with_all_params_overload_1(self, client: Anthropic) -> No
},
},
},
"name": "x",
"name": "name",
"cache_control": {"type": "ephemeral"},
"description": "Get the current weather in a given location",
"type": "custom",
Expand Down Expand Up @@ -181,7 +181,7 @@ def test_method_create_with_all_params_overload_2(self, client: Anthropic) -> No
},
},
},
"name": "x",
"name": "name",
"cache_control": {"type": "ephemeral"},
"description": "Get the current weather in a given location",
"type": "custom",
Expand Down Expand Up @@ -281,7 +281,7 @@ def test_method_count_tokens_with_all_params(self, client: Anthropic) -> None:
},
},
},
"name": "x",
"name": "name",
"cache_control": {"type": "ephemeral"},
"description": "Get the current weather in a given location",
"type": "custom",
Expand Down Expand Up @@ -386,7 +386,7 @@ async def test_method_create_with_all_params_overload_1(self, async_client: Asyn
},
},
},
"name": "x",
"name": "name",
"cache_control": {"type": "ephemeral"},
"description": "Get the current weather in a given location",
"type": "custom",
Expand Down Expand Up @@ -492,7 +492,7 @@ async def test_method_create_with_all_params_overload_2(self, async_client: Asyn
},
},
},
"name": "x",
"name": "name",
"cache_control": {"type": "ephemeral"},
"description": "Get the current weather in a given location",
"type": "custom",
Expand Down Expand Up @@ -592,7 +592,7 @@ async def test_method_count_tokens_with_all_params(self, async_client: AsyncAnth
},
},
},
"name": "x",
"name": "name",
"cache_control": {"type": "ephemeral"},
"description": "Get the current weather in a given location",
"type": "custom",
Expand Down
12 changes: 6 additions & 6 deletions tests/api_resources/test_messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def test_method_create_with_all_params_overload_1(self, client: Anthropic) -> No
},
},
},
"name": "x",
"name": "name",
"cache_control": {"type": "ephemeral"},
"description": "Get the current weather in a given location",
}
Expand Down Expand Up @@ -180,7 +180,7 @@ def test_method_create_with_all_params_overload_2(self, client: Anthropic) -> No
},
},
},
"name": "x",
"name": "name",
"cache_control": {"type": "ephemeral"},
"description": "Get the current weather in a given location",
}
Expand Down Expand Up @@ -288,7 +288,7 @@ def test_method_count_tokens_with_all_params(self, client: Anthropic) -> None:
},
},
},
"name": "x",
"name": "name",
"cache_control": {"type": "ephemeral"},
"description": "Get the current weather in a given location",
}
Expand Down Expand Up @@ -391,7 +391,7 @@ async def test_method_create_with_all_params_overload_1(self, async_client: Asyn
},
},
},
"name": "x",
"name": "name",
"cache_control": {"type": "ephemeral"},
"description": "Get the current weather in a given location",
}
Expand Down Expand Up @@ -495,7 +495,7 @@ async def test_method_create_with_all_params_overload_2(self, async_client: Asyn
},
},
},
"name": "x",
"name": "name",
"cache_control": {"type": "ephemeral"},
"description": "Get the current weather in a given location",
}
Expand Down Expand Up @@ -603,7 +603,7 @@ async def test_method_count_tokens_with_all_params(self, async_client: AsyncAnth
},
},
},
"name": "x",
"name": "name",
"cache_control": {"type": "ephemeral"},
"description": "Get the current weather in a given location",
}
Expand Down

0 comments on commit bb588ca

Please sign in to comment.