@@ -338,14 +338,17 @@ def update(
338338 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
339339 idempotency_key : str | None = None ,
340340 ) -> DevboxView :
341- """
342- Updates a devbox by doing a complete update the existing name,metadata fields.
343- It does not patch partial values.
341+ """Updates the specified Devbox fields.
342+
343+ Omitted fields are left unchanged. An empty
344+ name clears the name, and an empty metadata map clears the metadata.
344345
345346 Args:
346- metadata: User defined metadata to attach to the devbox for organization.
347+ metadata: User defined metadata to replace the Devbox metadata. Omit to leave unchanged or
348+ set to an empty map to clear it.
347349
348- name: (Optional) A user specified name to give the Devbox.
350+ name: A user specified name to give the Devbox. Omit to leave unchanged or set to an
351+ empty string to clear it.
349352
350353 extra_headers: Send extra headers
351354
@@ -2188,14 +2191,17 @@ async def update(
21882191 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
21892192 idempotency_key : str | None = None ,
21902193 ) -> DevboxView :
2191- """
2192- Updates a devbox by doing a complete update the existing name,metadata fields.
2193- It does not patch partial values.
2194+ """Updates the specified Devbox fields.
2195+
2196+ Omitted fields are left unchanged. An empty
2197+ name clears the name, and an empty metadata map clears the metadata.
21942198
21952199 Args:
2196- metadata: User defined metadata to attach to the devbox for organization.
2200+ metadata: User defined metadata to replace the Devbox metadata. Omit to leave unchanged or
2201+ set to an empty map to clear it.
21972202
2198- name: (Optional) A user specified name to give the Devbox.
2203+ name: A user specified name to give the Devbox. Omit to leave unchanged or set to an
2204+ empty string to clear it.
21992205
22002206 extra_headers: Send extra headers
22012207
0 commit comments