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