Skip to content

Commit e31a469

Browse files
gjtorikianclaude
andcommitted
chore: regenerate Python SDK via oagen
Drops the `typing_extensions` import from generated model/enum files in favor of the stdlib `typing` module — `TypeAlias` has been in stdlib typing since Python 3.10, which matches the SDK's minimum supported version. Also removes 347 stale files left behind by prior regens (alias/dedup targets that are no longer produced by the current IR). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c8ed377 commit e31a469

File tree

575 files changed

+228
-3621
lines changed

Some content is hidden

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

575 files changed

+228
-3621
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is auto-generated by oagen. Do not edit.
22

3-
from typing_extensions import TypeAlias
3+
from typing import TypeAlias
44
from workos.common.models.api_key_created_data_owner import ApiKeyCreatedDataOwner
55

66
ApiKeyOwner: TypeAlias = ApiKeyCreatedDataOwner
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is auto-generated by oagen. Do not edit.
22

3-
from typing_extensions import TypeAlias
3+
from typing import TypeAlias
44
from workos.common.models.api_key_created_data_owner import ApiKeyCreatedDataOwner
55

66
ApiKeyWithValueOwner: TypeAlias = ApiKeyCreatedDataOwner

src/workos/api_keys/models/organizations_api_keys_order.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is auto-generated by oagen. Do not edit.
22

3-
from typing_extensions import TypeAlias
3+
from typing import TypeAlias
44
from workos.connect.models.applications_order import ApplicationsOrder
55

66
OrganizationsApiKeysOrder: TypeAlias = ApplicationsOrder
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is auto-generated by oagen. Do not edit.
22

3-
from typing_extensions import TypeAlias
3+
from typing import TypeAlias
44
from .audit_log_event_actor import AuditLogEventActor
55

66
AuditLogEventTarget: TypeAlias = AuditLogEventActor
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is auto-generated by oagen. Do not edit.
22

3-
from typing_extensions import TypeAlias
3+
from typing import TypeAlias
44
from .audit_log_schema_actor import AuditLogSchemaActor
55

66
AuditLogSchemaJsonActor: TypeAlias = AuditLogSchemaActor
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is auto-generated by oagen. Do not edit.
22

3-
from typing_extensions import TypeAlias
3+
from typing import TypeAlias
44
from .audit_log_schema_json_target import AuditLogSchemaJsonTarget
55

66
AuditLogSchemaTarget: TypeAlias = AuditLogSchemaJsonTarget

src/workos/audit_logs/models/audit_logs_order.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is auto-generated by oagen. Do not edit.
22

3-
from typing_extensions import TypeAlias
3+
from typing import TypeAlias
44
from workos.connect.models.applications_order import ApplicationsOrder
55

66
AuditLogsOrder: TypeAlias = ApplicationsOrder

src/workos/authorization/models/authorization_assignment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
from enum import Enum
88
from typing import Optional
9-
from typing_extensions import Literal, TypeAlias
9+
from typing import Literal, TypeAlias
1010

1111

1212
class AuthorizationAssignment(str, Enum):

src/workos/authorization/models/authorization_order.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is auto-generated by oagen. Do not edit.
22

3-
from typing_extensions import TypeAlias
3+
from typing import TypeAlias
44
from workos.connect.models.applications_order import ApplicationsOrder
55

66
AuthorizationOrder: TypeAlias = ApplicationsOrder
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is auto-generated by oagen. Do not edit.
22

3-
from typing_extensions import TypeAlias
3+
from typing import TypeAlias
44
from .create_authorization_permission import CreateAuthorizationPermission
55

66
CreateRole: TypeAlias = CreateAuthorizationPermission

0 commit comments

Comments
 (0)