Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion generated_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -8415,7 +8415,8 @@
"facet",
"preprocessor",
"classifier",
"review"
"review",
"log"
],
"description": "Type of the span, for display purposes only"
},
Expand Down
1 change: 1 addition & 0 deletions py/src/braintrust/_generated_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -2596,6 +2596,7 @@ class SpanScope(TypedDict):
'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 👍 / 👎.

]
"""
Type of the span, for display purposes only
Expand Down
2 changes: 1 addition & 1 deletion py/src/braintrust/generated_types.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Auto-generated file (content hash 52c1e6b1a10f5644) -- do not modify"""
"""Auto-generated file (content hash a84e4f0b86139743) -- do not modify"""

from ._generated_types import (
Acl,
Expand Down