Skip to content

Commit 2128dde

Browse files
gjtorikianclaude
andcommitted
Fix misleading docstring in update_application
Remove "Pass None to clear" from the description parameter docstring. The HTTP client's exclude_none=True default strips None values before sending, so passing None would silently do nothing rather than clear the field. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6db3017 commit 2128dde

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/workos/connect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def update_application(
111111
Kwargs:
112112
application_id (str): Application ID or client ID.
113113
name (str): Updated application name. (Optional)
114-
description (str): Updated description. Pass None to clear. (Optional)
114+
description (str): Updated description. (Optional)
115115
scopes (Sequence[str]): Updated permission slugs. (Optional)
116116
redirect_uris (Sequence[str]): Updated OAuth redirect URIs. (Optional)
117117

0 commit comments

Comments
 (0)