Skip to content

[DO NOT MERGE] Preview: regenerated output for twilio-oai-generator#843 - #972

Draft
kridai wants to merge 2 commits into
mainfrom
regen/python-nested-object-guard-preview
Draft

kridai wants to merge 2 commits into
mainfrom
regen/python-nested-object-guard-preview

Conversation

@kridai

@kridai kridai commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Draft, for review of the generated diff only. Do not merge.

Shows what changes in the SDK with twilio/twilio-oai-generator#843 (single nested model fields accept constructed objects, fixing the AttributeError regression from 9.11.0).

Commits

  1. Baseline regen (generator main, unmodified template): pre-existing drift between the checked-in SDK and generator main (26 files). Unrelated to the fix.
  2. Fix regen (generator#843): the change to review. 32 files, 219 lines swapped; each is
    X(payload.get("k")) if payload.get("k") is not None else None
    # ->
    X(payload.get("k")) if isinstance(payload.get("k"), dict) else payload.get("k")

Review commit 2 on its own. Formatted with autoflake + black. The twilio-python test suite was not run here.

🤖 Generated with Claude Code

kridai and others added 2 commits October 12, 2026 14:20
…ing drift)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ested objects)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant