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

[BUG] Deprecated Pydantic method #920

Closed
scott-8 opened this issue Nov 13, 2023 · 0 comments · Fixed by #922
Closed

[BUG] Deprecated Pydantic method #920

scott-8 opened this issue Nov 13, 2023 · 0 comments · Fixed by #922

Comments

@scott-8
Copy link
Contributor

scott-8 commented Nov 13, 2023

Describe the bug
Pydantic deprecated general_plain_validator_function in this PR.

It should be a 1 to 1 replacement with with_info_plain_validator_function.

See here for more details: https://github.com/pydantic/pydantic-core/blob/baed94340599a03332ac856b5d32e0b7087309b4/python/pydantic_core/core_schema.py#L3901

Versions (please complete the following information):

  • Python version: 3.10
  • Django version: 4.2
  • Django-Ninja version: 1.0.0rc0
  • Pydantic version: 2.5.0
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 a pull request may close this issue.

1 participant