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

Update code to be compatible with Pydantic2 #360

Merged
merged 32 commits into from
Sep 25, 2024
Merged

Conversation

nanglo123
Copy link
Contributor

This PR updates the code in various places to make it compatible with Pydantic2's stricter type enforcement. Additionally, Pydantic2 generates a more detailed but not meaningfully different schema compared to the schema generated from Pydantic1.

The MIRA_REST_URL for the Github workflows testing configuration has been updated as well to reflect migrated MIRA services. Pydantic>=2.0.0, fastapi>=0.100.0, and httpx are the new dependency updates.

bgyori and others added 25 commits September 24, 2024 10:29
… been merged and cast sympy.Float to float for serialization
…xprStr objects. Use updated field serializer decorator
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