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

Updates the tests to remove exceptions now that Cloud will be on pydantic v2 #29

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

chrisguidry
Copy link
Contributor

@chrisguidry chrisguidry commented Oct 30, 2024

We had a few exceptions in place to handle difference in how field aliases
were handled between Pydantic v1 and v2. In preparation for Cloud being on
Pydantic v2, we no longer need these.

Note, it's expected that we'll see failures here for the three endpoints that use aliases until Prefect Cloud is released with these changes:

  • /api/flow_runs/history
  • /api/task_runs/history
  • /api/ui/schemas/validate

…ntic v2

We had a few exceptions in place to handle difference in how field aliases
were handled between Pydantic v1 and v2.  In preparation for Cloud being on
Pydantic v2, we no longer need these.
@chrisguidry chrisguidry merged commit 9782525 into main Oct 30, 2024
1 check failed
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