We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c21962e commit 000c8e6Copy full SHA for 000c8e6
sentry_sdk/integrations/starlette.py
@@ -65,7 +65,12 @@
65
66
try:
67
# Optional dependency of Starlette to parse form data.
68
- import multipart # type: ignore
+ try:
69
+ # python-multipart 0.0.13 and later
70
+ import python_multipart as multipart # type: ignore
71
+ except ImportError:
72
+ # python-multipart 0.0.12 and earlier
73
+ import multipart # type: ignore
74
except ImportError:
75
multipart = None
76
0 commit comments