Open
Description
TODO migrate to pydantic 2.0, and use a nested self-referential Union like this:
AutoPR/autopr/models/executable.py
Lines 30 to 40 in 1d818f4
To resolve this TODO, you can start by updating the code to use the latest version of pydantic (2.0). Then, you can implement a nested self-referential Union, following the example provided.