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

When drop pydantic~1, then solve all migration warnings #1193

Open
Czaki opened this issue Sep 19, 2024 · 0 comments
Open

When drop pydantic~1, then solve all migration warnings #1193

Czaki opened this issue Sep 19, 2024 · 0 comments

Comments

@Czaki
Copy link
Collaborator

Czaki commented Sep 19, 2024

When dropping pydantic~1 Should remove

    "ignore:Pydantic V1 style `@validator`",
    "ignore:Support for class-based `config` is deprecated",
    "ignore:`__get_validators__` is deprecated",
    "ignore:Using extra keyword arguments on `Field` is deprecated",
    "ignore:The `update_forward_refs` method is deprecated;",
    "ignore:The `copy` method is deprecated; use",
    "ignore:The private method `_iter` will be removed and should no longer be used",
    "ignore:The `validate` method is deprecated; use `model_validate` instead.",
    "ignore:The `schema_json` method is deprecated; use `model_json_schema` and json.dumps instead.",

from the list of filters in pytest config and solve pointed deprecations

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

No branches or pull requests

1 participant