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

Dump an model excluding none values #504

Open
d3cryptofc opened this issue Oct 27, 2024 · 0 comments · May be fixed by #503
Open

Dump an model excluding none values #504

d3cryptofc opened this issue Oct 27, 2024 · 0 comments · May be fixed by #503
Labels
enhancement New feature or request

Comments

@d3cryptofc
Copy link

Feature request

Context

I don't want to waste database space writing empty data.

Solution

Adding exclude_none paramater to model_dump_doc would solve the problem.

@d3cryptofc d3cryptofc added the enhancement New feature or request label Oct 27, 2024
@d3cryptofc d3cryptofc linked a pull request Oct 27, 2024 that will close this issue
@d3cryptofc d3cryptofc changed the title [FEATURE] dump an model excluding none values Dump an model excluding none values Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant