Commit d5e0dc0
feat: regenerate SDK with PEP 8 error naming and design fixes
Regenerated from oagen-emitters with:
- Error classes renamed *Exception → *Error (PEP 8)
- Two-tier error hierarchy: WorkOSError → APIError → specific errors
- Client class WorkOS is canonical (was WorkOSClient)
- Typed ListMetadata dataclass replaces Dict[str, Any]
- _parse_datetime helper with Python 3.10 version gating
- Clean __init__.py exports (only core public API)
- Remove exceptions.py compat re-export module
- Remove all backwards-compat aliases (greenfield project)
- Update hand-written tests to use canonical *Error names
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c5c613e commit d5e0dc0
File tree
272 files changed
+18059
-3245
lines changed- src/workos
- admin_portal
- models
- api_keys
- models
- audit_logs
- models
- authorization
- models
- common
- models
- connect
- models
- directory_sync
- models
- events
- models
- feature_flags
- models
- multi_factor_auth
- models
- organization_domains
- models
- organizations
- models
- pipes
- models
- radar
- models
- sso
- models
- types
- connect
- directory_sync
- feature_flags
- multi_factor_auth
- organizations
- user_management
- user_management
- models
- webhooks
- models
- widgets
- models
- tests
- fixtures
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
272 files changed
+18059
-3245
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
21 | 8 | | |
22 | 9 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 10 | | |
27 | | - | |
28 | | - | |
29 | 11 | | |
30 | 12 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 13 | + | |
45 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
46 | 18 | | |
0 commit comments