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

Updating the tests to be tolerant of the differences between Pydantic v1 and v2 #23

Merged
merged 3 commits into from
May 29, 2024

Conversation

chrisguidry
Copy link
Contributor

While we're in a mode where Cloud is still on v1, we need to make a few
adjustments to how we compare the schemas.

… v1 and v2

While we're in a mode where Cloud is still on v1, we need to make a few
adjustments to how we compare the schemas.
chrisguidry added a commit to PrefectHQ/prefect that referenced this pull request May 29, 2024
chrisguidry added a commit to PrefectHQ/prefect that referenced this pull request May 29, 2024
Copy link
Contributor

@jakekaplan jakekaplan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

amazing job to make sense of all this 🙇

) in oss_props[1].items():
assert field_name in cloud_props[1]
) in oss_props[1].values():
print(endpoint, method, oss_name)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

leftover?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, ty!

@chrisguidry chrisguidry merged commit edc97e0 into main May 29, 2024
1 check passed
@chrisguidry chrisguidry deleted the reconcile-with-pydantic-v2 branch May 29, 2024 18:17
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