Skip to content

Commit 603f860

Browse files
gjtorikianclaude
andcommitted
Add generated SDK modules with hand-maintained fixes
- Add all auto-generated resource modules, models, types, and tests - Add verify_event/verify_header back to Webhooks as @oagen-ignore methods - Add list_connections/get_connection/delete_connection to SSO as @oagen-ignore methods - Rename organizations update_organization→update, delete_organization→delete - Fix docstring exception names (*Error→*Exception) across all resource files Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 567c606 commit 603f860

File tree

753 files changed

+44973
-66
lines changed

Some content is hidden

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

753 files changed

+44973
-66
lines changed

src/workos/__init__.py

Lines changed: 33 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,48 @@
1+
# This file is auto-generated by oagen. Do not edit.
2+
13
"""WorkOS Python SDK."""
24

3-
from ._client import AsyncWorkOS, WorkOS
5+
from ._client import AsyncWorkOSClient, WorkOSClient
46
from ._errors import (
5-
WorkOSError,
6-
AuthenticationError,
7-
BadRequestError,
8-
ConflictError,
9-
ConfigurationError,
10-
ForbiddenError,
11-
NotFoundError,
12-
RateLimitExceededError,
13-
ServerError,
14-
UnprocessableEntityError,
15-
WorkOSConnectionError,
16-
WorkOSTimeoutError,
7+
BaseRequestException,
8+
AuthenticationException,
9+
BadRequestException,
10+
ConflictException,
11+
ConfigurationException,
12+
AuthorizationException,
13+
NotFoundException,
14+
RateLimitExceededException,
15+
ServerException,
16+
UnprocessableEntityException,
17+
WorkOSConnectionException,
18+
WorkOSTimeoutException,
1719
)
18-
from ._pagination import AsyncPage, SyncPage
20+
from ._pagination import AsyncPage, SyncPage, WorkOSListResource
1921
from ._types import RequestOptions
2022

2123
# Backward-compatible aliases
22-
WorkOSClient = WorkOS
23-
AsyncWorkOSClient = AsyncWorkOS
24+
WorkOS = WorkOSClient
25+
AsyncWorkOS = AsyncWorkOSClient
2426

2527
__all__ = [
26-
"AsyncWorkOS",
28+
"WorkOSClient",
2729
"AsyncWorkOSClient",
2830
"WorkOS",
29-
"WorkOSClient",
31+
"AsyncWorkOS",
3032
"RequestOptions",
31-
"WorkOSError",
32-
"AuthenticationError",
33-
"BadRequestError",
34-
"ConflictError",
35-
"ConfigurationError",
36-
"ForbiddenError",
37-
"NotFoundError",
38-
"RateLimitExceededError",
39-
"ServerError",
40-
"UnprocessableEntityError",
41-
"WorkOSConnectionError",
42-
"WorkOSTimeoutError",
33+
"BaseRequestException",
34+
"AuthenticationException",
35+
"BadRequestException",
36+
"ConflictException",
37+
"ConfigurationException",
38+
"AuthorizationException",
39+
"NotFoundException",
40+
"RateLimitExceededException",
41+
"ServerException",
42+
"UnprocessableEntityException",
43+
"WorkOSConnectionException",
44+
"WorkOSTimeoutException",
4345
"AsyncPage",
4446
"SyncPage",
47+
"WorkOSListResource",
4548
]

0 commit comments

Comments
 (0)