Fix Pickle Serialization for All Exception Classes in PydanticAI
PydanticAI's custom exceptions lost attributes during pickle round-trips, breaking error propagation in Celery, Ray, and multiprocessing. Fixed with __reduce__ methods and 16 parameterized tests.
PydanticAI Python Pickle Serialization Distributed Systems
March 3, 2026
Read More