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

chore: fix pydantic deprecation #35

Conversation

dariuszd21
Copy link
Contributor

@dariuszd21 dariuszd21 commented Aug 7, 2024

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run tox?

__get_validators__ will be removed and it is deprecated in pydantic 2.0

https://docs.pydantic.dev/latest/migration/#defining-custom-types

@dariuszd21 dariuszd21 requested review from lengau and a team August 7, 2024 14:23
Copy link

codecov bot commented Aug 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (feature/pydantic-2@9ff908d). Learn more about missing BASE report.

Additional details and impacted files
@@                  Coverage Diff                  @@
##             feature/pydantic-2      #35   +/-   ##
=====================================================
  Coverage                      ?   90.62%           
=====================================================
  Files                         ?       12           
  Lines                         ?      480           
  Branches                      ?      107           
=====================================================
  Hits                          ?      435           
  Misses                        ?       30           
  Partials                      ?       15           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@lengau lengau left a comment

Choose a reason for hiding this comment

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

Thanks!

@lengau lengau merged commit 6be0fc3 into canonical:feature/pydantic-2 Aug 7, 2024
14 checks passed
@dariuszd21 dariuszd21 deleted the work/handle-deprecation-warning branch August 8, 2024 19:43
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.

3 participants