Skip to content

chore: Update platform types - #1183

Open
braintrust-bot[bot] wants to merge 1 commit into
mainfrom
chore/regenerate-sdk-python-types
Open

braintrust-bot[bot] wants to merge 1 commit into
mainfrom
chore/regenerate-sdk-python-types

Conversation

@braintrust-bot

Copy link
Copy Markdown
Contributor

Automated regeneration of SDK types.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T01:23:05.911224Z 3ecce69 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3ecce69d6d

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "Codex (@codex) review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "Codex (@codex) address that feedback".

Comment on lines +3823 to +3825
product_origin: NotRequired[
Literal['patterns', 'dashboard', 'digest', 'pattern_alerts']
]

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve nullability when extending product_origin

When callers explicitly set product_origin=None, this public TypedDict now causes mypy/pyright to reject a value that remains valid according to generated_types.json, where the property's type still includes null; the previous generated annotation also included | None. Adding pattern_alerts should retain | None rather than narrowing the existing contract.

Useful? React with 👍 / 👎.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants