Skip to content

Use smart_union instead of _validate_unions

Øyvind Evju requested to merge fix-list-of-unions into dev

Description

BaseModel._validate_unions was implemented to avoid type coercion in Unions. This is now handled in Pydantic (and will be default from Pydantic V2).

Notes to review (code/docs/QA)

Related issues

Closes #2197 (closed)

Edited by Øyvind Evju

Merge request reports