Handling nested models in FastAPI form models

Got a complex object you need to shove into a FastAPI form model? Here’s a clean way to do it.