this post was submitted on 31 Jul 2025
6 points (100.0% liked)
Python
3579 readers
1 users here now
News and discussions about the programming language Python
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If you don't want to test the round trip, have your fastapi routes call some other function and test just that function.
Do you mean moving Pydantic models as arguments of other function?