|
2 | 2 |
|
3 | 3 | from __future__ import annotations |
4 | 4 |
|
5 | | -from typing import Dict, Iterable |
| 5 | +from typing import Dict, Iterable, Optional |
6 | 6 |
|
7 | 7 | import httpx |
8 | 8 |
|
@@ -44,7 +44,7 @@ def create( |
44 | 44 | *, |
45 | 45 | appended_messages: Iterable[evaluation_create_params.AppendedMessage], |
46 | 46 | prompt_id: str, |
47 | | - variables: Dict[str, object], |
| 47 | + variables: Dict[str, Optional[object]], |
48 | 48 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
49 | 49 | # The extra values given here take precedence over values defined on the client or passed to this method. |
50 | 50 | extra_headers: Headers | None = None, |
@@ -90,7 +90,7 @@ def update( |
90 | 90 | *, |
91 | 91 | appended_messages: Iterable[evaluation_update_params.AppendedMessage], |
92 | 92 | prompt_id: str, |
93 | | - variables: Dict[str, object], |
| 93 | + variables: Dict[str, Optional[object]], |
94 | 94 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
95 | 95 | # The extra values given here take precedence over values defined on the client or passed to this method. |
96 | 96 | extra_headers: Headers | None = None, |
@@ -232,7 +232,7 @@ async def create( |
232 | 232 | *, |
233 | 233 | appended_messages: Iterable[evaluation_create_params.AppendedMessage], |
234 | 234 | prompt_id: str, |
235 | | - variables: Dict[str, object], |
| 235 | + variables: Dict[str, Optional[object]], |
236 | 236 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
237 | 237 | # The extra values given here take precedence over values defined on the client or passed to this method. |
238 | 238 | extra_headers: Headers | None = None, |
@@ -278,7 +278,7 @@ async def update( |
278 | 278 | *, |
279 | 279 | appended_messages: Iterable[evaluation_update_params.AppendedMessage], |
280 | 280 | prompt_id: str, |
281 | | - variables: Dict[str, object], |
| 281 | + variables: Dict[str, Optional[object]], |
282 | 282 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
283 | 283 | # The extra values given here take precedence over values defined on the client or passed to this method. |
284 | 284 | extra_headers: Headers | None = None, |
|
0 commit comments