Skip to content

Fix examples bug for objects#131

Merged
eyurtsev merged 1 commit intomainfrom
eugene/add_fix_type_definition
Apr 20, 2023
Merged

Fix examples bug for objects#131
eyurtsev merged 1 commit intomainfrom
eugene/add_fix_type_definition

Conversation

@eyurtsev
Copy link
Copy Markdown
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
Copy Markdown
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