Skip to content

Commit 25de685

Browse files
chore: generated SDK types (#493)
Automated regeneration of SDK types. Co-authored-by: braintrust-bot[bot] <215900051+braintrust-bot[bot]@users.noreply.github.com>
1 parent daecaa8 commit 25de685

3 files changed

Lines changed: 33 additions & 1 deletion

File tree

generated_types.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6054,6 +6054,32 @@
60546054
"null"
60556055
]
60566056
},
6057+
"visibility": {
6058+
"type": [
6059+
"object",
6060+
"null"
6061+
],
6062+
"properties": {
6063+
"users": {
6064+
"type": [
6065+
"array",
6066+
"null"
6067+
],
6068+
"items": {
6069+
"type": "string"
6070+
}
6071+
},
6072+
"groups": {
6073+
"type": [
6074+
"array",
6075+
"null"
6076+
],
6077+
"items": {
6078+
"type": "string"
6079+
}
6080+
}
6081+
}
6082+
},
60576083
"online": {
60586084
"$ref": "#/components/schemas/OnlineScoreConfig"
60596085
}

py/src/braintrust/_generated_types.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1775,6 +1775,11 @@ class ProjectScoreCategory(TypedDict):
17751775
"""
17761776

17771777

1778+
class ProjectScoreConfigVisibility(TypedDict):
1779+
users: NotRequired[Sequence[str] | None]
1780+
groups: NotRequired[Sequence[str] | None]
1781+
1782+
17781783
ProjectScoreType: TypeAlias = Literal[
17791784
'slider', 'categorical', 'weighted', 'minimum', 'maximum', 'online', 'free-form'
17801785
]
@@ -3284,6 +3289,7 @@ class ProjectAutomationConfig2(TypedDict):
32843289
class ProjectScoreConfig(TypedDict):
32853290
multi_select: NotRequired[bool | None]
32863291
destination: NotRequired[str | None]
3292+
visibility: NotRequired[ProjectScoreConfigVisibility | None]
32873293
online: NotRequired[OnlineScoreConfig | None]
32883294

32893295

py/src/braintrust/generated_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Auto-generated file (content hash 7a2c5cda6562eb35) -- do not modify"""
1+
"""Auto-generated file (content hash da3ed4d7e6b51d9c) -- do not modify"""
22

33
from ._generated_types import (
44
Acl,

0 commit comments

Comments
 (0)