Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Migrate pydantic validators to field_validators #67

Closed
igorbenav opened this issue Dec 4, 2023 · 0 comments · Fixed by #72
Closed

Migrate pydantic validators to field_validators #67

igorbenav opened this issue Dec 4, 2023 · 0 comments · Fixed by #72
Assignees
Labels
bug Something isn't working

Comments

@igorbenav
Copy link
Owner

In src/app/schemas/rate_limit.py:

PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.4/migration/
@igorbenav igorbenav added the bug Something isn't working label Dec 4, 2023
@igorbenav igorbenav self-assigned this Dec 9, 2023
@igorbenav igorbenav linked a pull request Dec 9, 2023 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant