Go
fastapi
✨ Raise early when using form data without installing python-multipart
#1851
Merged
Overview
Commits
28
Changes
View On
GitHub
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
✨ Raise early when using form data without installing python-multipart
#1851
tiangolo
merged 28 commits into
master
from
raise-form-early-2
Check if Form exists and multipart is in virtual environment
6b3bee04
Remove unused import
ed22e5af
Move BodyFieldInfo check to separate helper function
773145b0
Fix type UploadFile to File for BodyFieldInfo check
a0420614
Working solution. Kind of nasty though.
58814180
Use better method of determing if correct package imported
6543da7b
Use better method of determing if correct package imported
dde8f464
Add raising exceptions, update error messages
daa21a29
Fix merge conflicts
02bb30e8
Check if Form exists and multipart is in virtual environment
a5895c54
Move BodyFieldInfo check to separate helper function
315aeb9a
Fix type UploadFile to File for BodyFieldInfo check
1cdff73e
Use better method of determing if correct package imported
9d821294
Updated what kind of exception will be thrown
99b805fe
Add type annotations
520daa01
Add basic tests
5ffc2da6
Fix merge conflicts
9c5909ae
Fixed Travis tests
840ac95a
Replace logging with fastapi logger
dc29b937
Change AttributeError to ImportError to fix exception handling
7a437095
Fixing tests
f94cdc4b
Catch ModuleNotFoundError first
9e95db32
Update fastapi/dependencies/utils.py
16370387
Update fastapi/dependencies/utils.py
7284cb00
Removed spaces in error printing
bdfb9f20
♻️ Refactor form data detection
20c6b69d
✅ Update/increase tests for incorrect multipart install
f5cb7d86
🔥 Remove deprecated Travis (moved to GitHub Actions)
0cf5b4e9
tiangolo
merged
38d8bab7
into master
4 years ago
tiangolo
deleted the raise-form-early-2 branch
4 years ago
Login to write a write a comment.
Login via GitHub
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Login to write a write a comment.
Login via GitHub