Skip to content

Use validation library for model input validation #295

@fkromer

Description

@fkromer

The need for validation functions could be avoided if we'd define model classes as models using generic library support. These days the most common alternative for this purpose is pydantic. pydantic enables:

This would result in a rather bigger refactoring. Pls let me know what you think about this proposal @izar . I'd like to avoid the preparation of PRs which would not be accepted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions