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

Use pydantic v2? #323

Closed
mbforbes opened this issue Jul 19, 2024 · 2 comments
Closed

Use pydantic v2? #323

mbforbes opened this issue Jul 19, 2024 · 2 comments
Labels
feature request New feature or request

Comments

@mbforbes
Copy link

Hi all, have you considered talking with Fern to use pydantic v2 for this library?

Pydantic v2 has been out for over a year, is already on v2.8, and continues to get improvements. It's awkward to mix pydantic v1 and v2 calls in the same codebase.

Only relevant issue I found:
fern-api/python-sdk#4

Thanks for your consideration!

@dsinghvi
Copy link
Collaborator

@mbforbes we are recently going to be releasing a change in the next 2 weeks where the SDK will use Pydantic V2 for those who are pinned to V2 versions and Pydantic V1 for those who are on V1. Thanks for submitting this feedback!

@dsinghvi dsinghvi added the feature request New feature or request label Jul 20, 2024
@dsinghvi
Copy link
Collaborator

@mbforbes this is released in v1.6.0rc0, please let us know if you have any issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants