Skip to content

Python parameters typing#399

Merged
Abhijeet Prasad (AbhiPrasad) merged 7 commits intomainfrom
python-parameters-typing
May 7, 2026
Merged

Python parameters typing#399
Abhijeet Prasad (AbhiPrasad) merged 7 commits intomainfrom
python-parameters-typing

Conversation

@j13huang
Copy link
Copy Markdown
Contributor

Noticed that the typing was not working properly for the parameters docs snippet (https://www.braintrust.dev/docs/evaluate/write-parameters)

I think the main reason is that the PromptData type (

class PromptData(SerializableDataClass):
) is not a TypedDict. So I set up a separate TypedDict type and codexed my way through supporting that

Comment thread py/src/braintrust/parameters.py Outdated
john (j13huang) and others added 2 commits May 6, 2026 17:33
@AbhiPrasad Abhijeet Prasad (AbhiPrasad) enabled auto-merge (squash) May 7, 2026 16:29
@AbhiPrasad Abhijeet Prasad (AbhiPrasad) merged commit 80e0de7 into main May 7, 2026
161 of 163 checks passed
@AbhiPrasad Abhijeet Prasad (AbhiPrasad) deleted the python-parameters-typing branch May 7, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants