Skip to content

Python parameters typing#399

Open
john (j13huang) wants to merge 7 commits intomainfrom
python-parameters-typing
Open

Python parameters typing#399
john (j13huang) wants to merge 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
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