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

Fix examples bug for objects #131

Merged
merged 1 commit into from
Apr 20, 2023
Merged

Conversation

eyurtsev
Copy link
Owner

Pydantic auto coercision behaves incorrectly when using a list of dicts which
contain exactly 2 items. In this case, the list of dicts gets incorrectly
converted into a dictionary.

Fix for: #130

@eyurtsev
Copy link
Owner Author

eyurtsev commented Apr 20, 2023

TODO(Eugene): add unit-tests for this

@eyurtsev eyurtsev merged commit 409e048 into main Apr 20, 2023
@eyurtsev eyurtsev deleted the eugene/add_fix_type_definition branch April 20, 2023 02:19
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

Successfully merging this pull request may close these issues.

1 participant