-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
here is a small gist to generate typed python client https://gist.github.com/gsemyong/8abb433aa3bb6094644b0f2185dece81
it has some limitations (i made it for my particular use case), but making it feature complete is a matter of couple of hours tops. from my exploration, the best approach will be to use something like ts-morph to read generated type definitions and maybe generate a nested file structure to improve naming (until inline typed dicts arrive). this gist uses simpler approach where it parses function spec json and generates everything in one file with nested dataclasses.
Metadata
Metadata
Assignees
Labels
No labels