Skip to content

Dump an model excluding none values #504

Description

@d3cryptofc

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions