How to deserialize nested Pydantic models from JSON where nested models are held in a list on a computed field
I have a Pydantic model representing a bank account holding transactions, which themselves are models that are nested on the account model. The transactions are held in a list on a hidden field and accessed through a computed field that applies some checks in the setter method.