Closed AlessandroMiola closed 1 year ago
Hi @AlessandroMiola 👋
Yes, you're right! In this case, it doesn't make much difference, but it should definitely be CommentCreate
!
Packt and I are currently working on a Second Edition of the book, set to release this summer. Stay tuned!
Hi François, first off, thanks for your amazing book! Very straight to the point in presenting the core concepts of FastAPI and its ecosystem :)
I'd just like to point out a possible typo (though quite irrelevant) in the
create_comment
definition inTortoise
section. If I'm not wrong, in the spirit of the previous examples thecomment
argument should rather be type-hinted as aCommentCreate
instance.