Skip to content

Commit 080ecff

Browse files
feat(user_management)!: SDK surface change: Parameter type changed for "request_options" on "UserManagement.accept_invitation"
1 parent 9813c49 commit 080ecff

45 files changed

Lines changed: 839 additions & 831 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/workos/common/models/create_user_invite_options_locale.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from __future__ import annotations
66

77
from enum import Enum
8-
from typing import Optional
98
from typing import Literal, TypeAlias
109

1110

@@ -104,7 +103,7 @@ class CreateUserInviteOptionsLocale(str, Enum):
104103
ZU = "zu"
105104

106105
@classmethod
107-
def _missing_(cls, value: object) -> Optional["CreateUserInviteOptionsLocale"]:
106+
def _missing_(cls, value: object) -> CreateUserInviteOptionsLocale | None:
108107
if not isinstance(value, str):
109108
return None
110109
unknown = str.__new__(cls, value)

src/workos/common/models/create_user_password_hash_type.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from __future__ import annotations
66

77
from enum import Enum
8-
from typing import Optional
98
from typing import Literal, TypeAlias
109

1110

@@ -21,7 +20,7 @@ class CreateUserPasswordHashType(str, Enum):
2120
ARGON_2 = "argon2"
2221

2322
@classmethod
24-
def _missing_(cls, value: object) -> Optional["CreateUserPasswordHashType"]:
23+
def _missing_(cls, value: object) -> CreateUserPasswordHashType | None:
2524
if not isinstance(value, str):
2625
return None
2726
unknown = str.__new__(cls, value)
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
# This file is auto-generated by oagen. Do not edit.
22

3-
from ._resource import (
4-
UserManagement as UserManagement,
5-
AsyncUserManagement as AsyncUserManagement,
6-
PasswordPlaintext as PasswordPlaintext,
7-
PasswordHashed as PasswordHashed,
8-
)
3+
from ._resource import AsyncUserManagement as AsyncUserManagement
4+
from ._resource import PasswordHashed as PasswordHashed
5+
from ._resource import PasswordPlaintext as PasswordPlaintext
6+
from ._resource import UserManagement as UserManagement
97
from .models import *

0 commit comments

Comments
 (0)