Skip to content

Make root model schema consistent with base model schema #654

Open
@lig

Description

@lig

See pydantic/pydantic#5949 (review)

  • __pydantic_fields_set__ logic is missing from root model inconsistent
  • Maybe expose a special no value value for passing to SchemaValidator.validate_python in case no data was provided and implement default logic here

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