|
26 | 26 | ) |
27 | 27 | from ...._wrappers import ResultWrapper |
28 | 28 | from ...._base_client import make_request_options |
29 | | -from ....types.kv.any_param import AnyParam |
30 | 29 | from ....types.kv.namespaces import value_update_params |
31 | 30 | from ....types.kv.namespaces.value_delete_response import ValueDeleteResponse |
32 | 31 | from ....types.kv.namespaces.value_update_response import ValueUpdateResponse |
@@ -63,7 +62,7 @@ def update( |
63 | 62 | value: str, |
64 | 63 | expiration: float | NotGiven = NOT_GIVEN, |
65 | 64 | expiration_ttl: float | NotGiven = NOT_GIVEN, |
66 | | - metadata: AnyParam | NotGiven = NOT_GIVEN, |
| 65 | + metadata: object | NotGiven = NOT_GIVEN, |
67 | 66 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
68 | 67 | # The extra values given here take precedence over values defined on the client or passed to this method. |
69 | 68 | extra_headers: Headers | None = None, |
@@ -97,6 +96,8 @@ def update( |
97 | 96 |
|
98 | 97 | expiration_ttl: Expires the key after a number of seconds. Must be at least 60. |
99 | 98 |
|
| 99 | + metadata: Associates arbitrary JSON data with a key/value pair. |
| 100 | +
|
100 | 101 | extra_headers: Send extra headers |
101 | 102 |
|
102 | 103 | extra_query: Add additional query parameters to the request |
@@ -275,7 +276,7 @@ async def update( |
275 | 276 | value: str, |
276 | 277 | expiration: float | NotGiven = NOT_GIVEN, |
277 | 278 | expiration_ttl: float | NotGiven = NOT_GIVEN, |
278 | | - metadata: AnyParam | NotGiven = NOT_GIVEN, |
| 279 | + metadata: object | NotGiven = NOT_GIVEN, |
279 | 280 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
280 | 281 | # The extra values given here take precedence over values defined on the client or passed to this method. |
281 | 282 | extra_headers: Headers | None = None, |
@@ -309,6 +310,8 @@ async def update( |
309 | 310 |
|
310 | 311 | expiration_ttl: Expires the key after a number of seconds. Must be at least 60. |
311 | 312 |
|
| 313 | + metadata: Associates arbitrary JSON data with a key/value pair. |
| 314 | +
|
312 | 315 | extra_headers: Send extra headers |
313 | 316 |
|
314 | 317 | extra_query: Add additional query parameters to the request |
|
0 commit comments