Use data classes in your FastAPI projects, and speed up your pydantic model operations.
This was definitely something lacking in my knowledge and I am glad to have that gap now filled. Definitely, something to carefully think about. I'm so glad it gives some examples and sample code.