Added the ability to transfer Pydantic model to FormData#2139
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2139 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 239 240 +1
Lines 7079 7104 +25
=========================================
+ Hits 7079 7104 +25 ☔ View full report in Codecov by Sentry. |
|
📝 Docs preview for commit e6ec56d at: https://5f7cddf0dd4b3c014cae6e71--fastapi.netlify.app |
|
Hey, I'd be interest to have this merged, is there anything blocking this to be merged ? Thank you ! |
|
I tried It works with current (0.86) version. Is this PR still needed? |
|
Thanks! ☕ This was covered in #12129, it is available in FastAPI 0.113.0 🎉 The new docs: https://fastapi.tiangolo.com/tutorial/request-form-models/ Given that, I'll close this one, but thanks for the effort! 🍰 |
|
Codecov ReportAll modified and coverable lines are covered by tests ✅ ❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
|
Fixed error 422 when creating Pydantic model from FormData. Example temporal workaround on StackOverflow