Skip to content

feat(generated)!: SDK surface change: Symbol "IntentOptions" was removed (+4 more)#697

Closed
workos-sdk-automation[bot] wants to merge 7 commits into
mainfrom
oagen/batch-123p
Closed

feat(generated)!: SDK surface change: Symbol "IntentOptions" was removed (+4 more)#697
workos-sdk-automation[bot] wants to merge 7 commits into
mainfrom
oagen/batch-123p

Conversation

@workos-sdk-automation

@workos-sdk-automation workos-sdk-automation Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary

feat(admin_portal)!: SDK surface change: Symbol "IntentOptions" was removed

  • SDK surface change: Symbol "IntentOptions" was removed.

feat(connect)!: SDK surface change: Symbol "ConnectedAccountDto" was removed

  • SDK surface change: Symbol "ConnectedAccountDto" was removed.

feat(organization_domains)!: SDK surface change: Symbol "DomainVerificationIntentOptions" was removed

  • SDK surface change: Symbol "DomainVerificationIntentOptions" was removed.

feat(pipes)!: SDK surface change: Symbol "DataIntegrationCredentialsDto" was removed

  • SDK surface change: Symbol "DataIntegrationCredentialsDto" was removed.

feat(sso)!: SDK surface change: Symbol "SSOIntentOptions" was removed

  • SDK surface change: Symbol "SSOIntentOptions" was removed.

Triggered by workos/openapi-spec@eda9449

BEGIN_COMMIT_OVERRIDE
feat(admin_portal)!: SDK surface change: Symbol "IntentOptions" was removed (#697)
feat(connect)!: SDK surface change: Symbol "ConnectedAccountDto" was removed (#697)
feat(organization_domains)!: SDK surface change: Symbol "DomainVerificationIntentOptions" was removed (#697)
feat(pipes)!: SDK surface change: Symbol "DataIntegrationCredentialsDto" was removed (#697)
feat(sso)!: SDK surface change: Symbol "SSOIntentOptions" was removed (#697)
END_COMMIT_OVERRIDE

@workos-sdk-automation workos-sdk-automation Bot added the autogenerated Autogenerated code or content label Jul 21, 2026
@workos-sdk-automation
workos-sdk-automation Bot requested review from a team as code owners July 21, 2026 21:21
@workos-sdk-automation workos-sdk-automation Bot added the autogenerated Autogenerated code or content label Jul 21, 2026
@workos-sdk-automation
workos-sdk-automation Bot requested a review from tribble July 21, 2026 21:21
@greptile-apps

greptile-apps Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR regenerates the SDK after several schema symbols were removed. The main changes are:

  • Removes five announced intent and DTO models.
  • Consolidates selected aliases onto common models.
  • Prunes generated exports, fixtures, and manifest entries.

Confidence Score: 4/5

Additional public imports break beyond the five announced symbol removals.

  • Named imports for many surviving common models now raise ImportError.
  • ConnectionOption is removed without a documented replacement.
  • The five announced removals have no stale internal references.

src/workos/common/models/init.py, src/workos/common/init.py, and src/workos/sso/models/init.py

Important Files Changed

Filename Overview
src/workos/common/models/init.py Removes package exports for many surviving common-model symbols beyond the announced changes.
src/workos/common/init.py Removes the cascading wildcard export from the common package.
src/workos/sso/models/init.py Removes the additional ConnectionOption public export without documenting it.
src/workos/pipes/models/init.py Removes obsolete DTO exports and retains ConnectedAccount through the common model.
src/workos/admin_portal/models/init.py Removes the announced intent-option exports with no remaining internal references.
Prompt To Fix All With AI
Fix the following 2 code review issues. Work through them one at a time, proposing concise fixes.

---

### Issue 1 of 2
src/workos/common/models/__init__.py:109
**Surviving Model Exports Disappear**

This removes package-level exports for models that still exist and are used by sibling models, including `AuthenticationRadarRiskDetectedDataAction`, `DirectoryUserState`, and `EventContextActorSource`. Code using the supported named-import form `from workos.common.models import EventContextActorSource` now fails with `ImportError`, expanding the breaking surface beyond the five announced removals.

### Issue 2 of 2
src/workos/sso/models/__init__.py:4
**Unannounced SSO Export Removal**

Removing this re-export and deleting its module makes `from workos.sso.models import ConnectionOption` fail on upgrade. `ConnectionOption` is not among the five breaking removals listed in this PR, so existing callers receive an undocumented `ImportError` with no stated replacement.

Reviews (1): Last reviewed commit: "chore(generated): add release notes frag..." | Re-trigger Greptile

@@ -109,7 +109,6 @@
from .authenticate_response_impersonator import (

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Surviving Model Exports Disappear

This removes package-level exports for models that still exist and are used by sibling models, including AuthenticationRadarRiskDetectedDataAction, DirectoryUserState, and EventContextActorSource. Code using the supported named-import form from workos.common.models import EventContextActorSource now fails with ImportError, expanding the breaking surface beyond the five announced removals.

Context Used: CLAUDE.md (source)

Prompt To Fix With AI
This is a comment left during a code review.
Path: src/workos/common/models/__init__.py
Line: 109

Comment:
**Surviving Model Exports Disappear**

This removes package-level exports for models that still exist and are used by sibling models, including `AuthenticationRadarRiskDetectedDataAction`, `DirectoryUserState`, and `EventContextActorSource`. Code using the supported named-import form `from workos.common.models import EventContextActorSource` now fails with `ImportError`, expanding the breaking surface beyond the five announced removals.

**Context Used:** CLAUDE.md ([source](https://app.greptile.com/workos/github/workos/workos-python/-/custom-context?memory=3d138293-80e5-449b-bb68-0972a12bbb9d))

How can I resolve this? If you propose a fix, please make it concise.


from .connection import Connection as Connection
from .connection_option import * # noqa: F401,F403
from .connection_domain import ConnectionDomain as ConnectionDomain

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Unannounced SSO Export Removal

Removing this re-export and deleting its module makes from workos.sso.models import ConnectionOption fail on upgrade. ConnectionOption is not among the five breaking removals listed in this PR, so existing callers receive an undocumented ImportError with no stated replacement.

Context Used: CLAUDE.md (source)

Prompt To Fix With AI
This is a comment left during a code review.
Path: src/workos/sso/models/__init__.py
Line: 4

Comment:
**Unannounced SSO Export Removal**

Removing this re-export and deleting its module makes `from workos.sso.models import ConnectionOption` fail on upgrade. `ConnectionOption` is not among the five breaking removals listed in this PR, so existing callers receive an undocumented `ImportError` with no stated replacement.

**Context Used:** CLAUDE.md ([source](https://app.greptile.com/workos/github/workos/workos-python/-/custom-context?memory=3d138293-80e5-449b-bb68-0972a12bbb9d))

How can I resolve this? If you propose a fix, please make it concise.

@gjtorikian gjtorikian closed this Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autogenerated Autogenerated code or content

Development

Successfully merging this pull request may close these issues.

1 participant