Use smart_union instead of _validate_unions
Description
BaseModel._validate_unions
was implemented to avoid type coercion in Union
s. 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