--- title: Using Union Types in Pydantic Models description: Learn how to implement Union types in Pydantic models to handle multiple action types in Python. --- !!! note "Redirect Notice" This page has been consolidated into the comprehensive [Union Types](./unions.md) guide. Please visit that page for complete information about working with union types in Instructor.