pydantic-odm
pydantic-odm copied to clipboard
Fix creating empty id field when creating new document
Fix #23
exclude={'id'} was only added when updating a document, now I added to creating as well.
PS. maybe setting "exclude_none" to true can be another solution?
@tc-imba Hello! Thanks for your contribution! I need a little time to check your decision and if it is correct, I will accept your PR and will thank you very much.