Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return python object instead of JSON #257

Closed
Siddhesh-Agarwal opened this issue Aug 18, 2024 · 2 comments
Closed

Return python object instead of JSON #257

Siddhesh-Agarwal opened this issue Aug 18, 2024 · 2 comments

Comments

@Siddhesh-Agarwal
Copy link

Is it on the roadmap to return a Python object instead of a dictionary?

If it is, the solution is to create Pydantic classes for everything and the parse the JSON object with the model_validate_json function

@RithikRaj64
Copy link

Yeah that would be a better way to manage stuff.

@ParthSareen
Copy link
Contributor

Added with the new release! @Siddhesh-Agarwal @RithikRaj64 :)

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

No branches or pull requests

3 participants