From 9ec851700fd0c4924f791f7cf048dc58469fff31 Mon Sep 17 00:00:00 2001 From: WorkOS Bot Date: Wed, 14 May 2025 00:08:57 +0000 Subject: [PATCH] Translated from node PR #1273 --- workos/user_management/update_user_options.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 workos/user_management/update_user_options.py diff --git a/workos/user_management/update_user_options.py b/workos/user_management/update_user_options.py new file mode 100644 index 00000000..87159bfa --- /dev/null +++ b/workos/user_management/update_user_options.py @@ -0,0 +1,11 @@ +def serialize_update_user_options(options): + return { + 'email': options['email'], + 'email_verified': options['emailVerified'], + 'first_name': options['firstName'], + 'last_name': options['lastName'], + 'password': options['password'], + 'password_hash': options['passwordHash'], + 'password_hash_type': options['passwordHashType'], + 'external_id': options['externalId'], + } \ No newline at end of file