Skip to content

Commit dae8afd

Browse files
feat(generated)!: Changes to sso (#704)
Co-authored-by: workos-sdk-automation[bot] <255426317+workos-sdk-automation[bot]@users.noreply.github.com>
1 parent 826ad56 commit dae8afd

21 files changed

Lines changed: 182 additions & 181 deletions
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
* [#704](https://github.com/workos/workos-python/pull/704) feat(generated)!: regenerate from spec (1 change)
2+
3+
**Fixes**
4+
* **[sso](https://workos.com/docs/reference/sso)**:
5+
* Removed `callback_endpoint` from `Connection`

.last-synced-sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
904c5bccd2c6d0511ad2d0760e57d139143f1773
1+
ae3ebbb08d9b4bf9b2391558e820b7eb6f511fb9

src/workos/common/models/connection_state.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

@@ -20,7 +19,7 @@ class ConnectionState(str, Enum):
2019
DELETING = "deleting"
2120

2221
@classmethod
23-
def _missing_(cls, value: object) -> Optional["ConnectionState"]:
22+
def _missing_(cls, value: object) -> ConnectionState | None:
2423
if not isinstance(value, str):
2524
return None
2625
unknown = str.__new__(cls, value)

src/workos/common/models/connection_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

@@ -65,7 +64,7 @@ class ConnectionType(str, Enum):
6564
XERO_OAUTH = "XeroOAuth"
6665

6766
@classmethod
68-
def _missing_(cls, value: object) -> Optional["ConnectionType"]:
67+
def _missing_(cls, value: object) -> ConnectionType | None:
6968
if not isinstance(value, str):
7069
return None
7170
unknown = str.__new__(cls, value)

0 commit comments

Comments
 (0)