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

Deprecation Warning From Pydantic After Running The Tests #653

Open
hf-krechan opened this issue Nov 14, 2023 · 0 comments
Open

Deprecation Warning From Pydantic After Running The Tests #653

hf-krechan opened this issue Nov 14, 2023 · 0 comments
Labels
bug Something isn't working Python Specific 🐍 a problem that is specific to this python implementation and not the bo4e data model

Comments

@hf-krechan
Copy link
Collaborator

Deprecation warning from pydantic

  /Users/kevin/workspaces/hochfrequenz/BO4E-python/.tox/coverage/lib/python3.11/site-packages/pydantic/_internal/_generate_schema.py:252: PydanticDeprecatedSince20: `json_encoders` is deprecated. See https://docs.pydantic.dev/2.4/concepts/serialization/#custom-serializers for alternatives. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.4/migration/
    warnings.warn(

Steps To Reproduce

tox -e tests

Expected vs. Actual Behavior

What you expected

No depreciation warnings after running the tests.

What actually happened

I got the mentioned deprecation warning.

Additional context

Please state your Python version: 3.11.6

@hf-krechan hf-krechan added bug Something isn't working Python Specific 🐍 a problem that is specific to this python implementation and not the bo4e data model labels Nov 14, 2023
@hf-krechan hf-krechan changed the title A meaningful Title: FooNotFoundException when Deserializing BO Foo with bar=123 Deprecation Warning From Pydantic After Running The Tests Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Python Specific 🐍 a problem that is specific to this python implementation and not the bo4e data model
Projects
None yet
Development

No branches or pull requests

1 participant