Skip to content

Allow inputs to have configurable base class #371

@mzealey

Description

@mzealey

All input_types are currently just using BaseModel which by default allows extra fields to be specified. This causes silent data loss if you name the field incorrectly. It would be nice to have a way to either specify at generation time some extra ConfigDict() options, or to have all inputs coming off a single base model which could then be patched by the caller to prevent extra fields if required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions