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
26 changes: 26 additions & 0 deletions generated_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -6054,6 +6054,32 @@
"null"
]
},
"visibility": {
"type": [
"object",
"null"
],
"properties": {
"users": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"groups": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
}
}
},
"online": {
"$ref": "#/components/schemas/OnlineScoreConfig"
}
Expand Down
6 changes: 6 additions & 0 deletions py/src/braintrust/_generated_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1775,6 +1775,11 @@ class ProjectScoreCategory(TypedDict):
"""


class ProjectScoreConfigVisibility(TypedDict):
users: NotRequired[Sequence[str] | None]
groups: NotRequired[Sequence[str] | None]


ProjectScoreType: TypeAlias = Literal[
'slider', 'categorical', 'weighted', 'minimum', 'maximum', 'online', 'free-form'
]
Expand Down Expand Up @@ -3284,6 +3289,7 @@ class ProjectAutomationConfig2(TypedDict):
class ProjectScoreConfig(TypedDict):
multi_select: NotRequired[bool | None]
destination: NotRequired[str | None]
visibility: NotRequired[ProjectScoreConfigVisibility | None]
online: NotRequired[OnlineScoreConfig | None]


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 7a2c5cda6562eb35) -- do not modify"""
"""Auto-generated file (content hash da3ed4d7e6b51d9c) -- do not modify"""

from ._generated_types import (
Acl,
Expand Down
Loading