Skip to content

Set field if not provided based on value of another field #870

@Ayehavgunne

Description

@Ayehavgunne

Description

Last I checked, this library didn't have the ability to set the value of a field that was not passed in for deserialization based on the value of another field that has already been validated. This is the one reason I am using Pydantic right now. It would be great if this was possible.

Or maybe I missed this somewhere?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions