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

UserWarning: Pydantic serializer warnings in tests/unit/with_dbs/02/test_projects* #6936

Open
Tracked by #6868
pcrespov opened this issue Dec 10, 2024 · 0 comments · May be fixed by #7124
Open
Tracked by #6868

UserWarning: Pydantic serializer warnings in tests/unit/with_dbs/02/test_projects* #6936

pcrespov opened this issue Dec 10, 2024 · 0 comments · May be fixed by #7124
Assignees
Labels
dependencies Pull requests that update a dependency file t:maintenance Some planned maintenance work
Milestone

Comments

@pcrespov
Copy link
Member

Review these warnings

UserWarning: Pydantic serializer warnings:
    Expected `uuid` but got `str` with value `'4296e02b-b71d-11ef-a21e-91cb1145dab4'` - serialized value may not be as expected
    Expected `PipelineDetails` but got `dict` with value `{'adjacency_list': {'62bc...d28c']}}, 'progress': 0}` - serialized value may not be as expected
    return self.__pydantic_serializer__.to_python(

Similar warnings were addressed in the past using mode="json" in model.model_dump(mode="json"). Here its seems the opposite.

@pcrespov pcrespov added the t:maintenance Some planned maintenance work label Dec 10, 2024
@pcrespov pcrespov added the dependencies Pull requests that update a dependency file label Jan 27, 2025
@giancarloromeo giancarloromeo added this to the Singularity milestone Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file t:maintenance Some planned maintenance work
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants