I am trying to structure the code for my data model using pydantic but I am running into an apparently insolvable problem.
pydantic
The code below works as expected:<