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

Using extra keyword arguments on Field is deprecated #43

Open
ipmb opened this issue Aug 13, 2024 · 0 comments
Open

Using extra keyword arguments on Field is deprecated #43

ipmb opened this issue Aug 13, 2024 · 0 comments

Comments

@ipmb
Copy link
Member

ipmb commented Aug 13, 2024

The custom initial kwarg is a problem

  /usr/local/lib/python3.11/site-packages/pydantic/fields.py:814: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'initial'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.8/migration/
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