Skip to content

chore: Update platform types - #756

Merged
Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
chore/regenerate-sdk-python-types
Sep 9, 2026
Merged

chore: Update platform types#756
Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
chore/regenerate-sdk-python-types

Conversation

@braintrust-bot

@braintrust-bot braintrust-bot Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Automated regeneration of SDK types.

@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: d4f654ae80

ℹ️ 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".

'preprocessor',
'classifier',
'review',
'log',

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 Add the new value to the public span enum

When a typed SDK caller tries to create this newly supported span type, SpanTypeAttribute.LOG raises AttributeError, while start_span(type="log") is rejected by its declared SpanTypeAttribute | None parameter type. py/src/braintrust/span_types.py still ends at REVIEW, and the public span-creation APIs continue to use that enum rather than this generated alias, so the new platform value is not exposed consistently; synchronize the enum or update those API annotations to accept SpanType.

Useful? React with 👍 / 👎.

@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) merged commit aa936aa into main Sep 9, 2026
84 checks passed
@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) deleted the chore/regenerate-sdk-python-types branch September 9, 2026 15:56
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.

1 participant