Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* [#704](https://github.com/workos/workos-python/pull/704) feat(generated)!: regenerate from spec (1 change)

**Fixes**
* **[sso](https://workos.com/docs/reference/sso)**:
* Removed `callback_endpoint` from `Connection`
2 changes: 1 addition & 1 deletion .last-synced-sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
904c5bccd2c6d0511ad2d0760e57d139143f1773
ae3ebbb08d9b4bf9b2391558e820b7eb6f511fb9
3 changes: 1 addition & 2 deletions src/workos/common/models/connection_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from __future__ import annotations

from enum import Enum
from typing import Optional
from typing import Literal, TypeAlias


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

@classmethod
def _missing_(cls, value: object) -> Optional["ConnectionState"]:
def _missing_(cls, value: object) -> ConnectionState | None:
if not isinstance(value, str):
return None
unknown = str.__new__(cls, value)
Expand Down
3 changes: 1 addition & 2 deletions src/workos/common/models/connection_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from __future__ import annotations

from enum import Enum
from typing import Optional
from typing import Literal, TypeAlias


Expand Down Expand Up @@ -65,7 +64,7 @@ class ConnectionType(str, Enum):
XERO_OAUTH = "XeroOAuth"

@classmethod
def _missing_(cls, value: object) -> Optional["ConnectionType"]:
def _missing_(cls, value: object) -> ConnectionType | None:
if not isinstance(value, str):
return None
unknown = str.__new__(cls, value)
Expand Down
Loading