Starlette #22
-
|
Could fastapi-problem be made to work with a Starlette only application? |
Beta Was this translation helpful? Give feedback.
Answered by
EdgyEdgemond
Jun 28, 2024
Replies: 1 comment 5 replies
-
|
You would need to create a different library, but essentially removing the fastapi.RequestValidationError handler from this code base would work with starlette. The old version of the library used to have support for starlette, but was removed as it made no sense to use this with starlette and install fastapi unnecessarily. As well as other fastapi imports. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://pypi.org/project/starlette-problem/
Try this one out :)