Commit dab75bd
remove legacy types/, compat layer, and handwritten service modules
Delete the entire legacy stack that the generated code replaces:
- All 10 _compat.py bridge files
- All handwritten service modules (sso.py, connect.py, etc.)
- Old client.py, async_client.py, _base_client.py, _client_configuration.py
- Entire types/ directory (~170 files of Pydantic models)
- typing/ directory (legacy type helpers)
- utils/ directory (legacy HTTP client, request helpers)
- exceptions.py (replaced by _errors.py)
- All legacy test files and fixtures
The generated _resource.py + _client.py + models/ are now the sole
implementation. Update __init__.py to export from the generated
_client.py. Add new conftest.py with workos/async_workos fixtures
for the generated test suite.
436 tests pass, 0 failures.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent f57e7cc commit dab75bd
228 files changed
Lines changed: 55 additions & 26860 deletions
File tree
- src/workos
- types
- api_keys
- audit_logs
- authorization
- connect
- directory_sync
- events
- feature_flags
- fga
- mfa
- organization_domains
- organizations
- passwordless
- pipes
- portal
- roles
- sso
- user_management
- vault
- webhooks
- widgets
- typing
- utils
- tests
- types
- utils
- fixtures
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments