Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid import of pkg_resource with Starlette integration
By changing the order in the condition, we can avoid the call to `_get_installed_modules` (which imports `pkg_resources`) when the `mechanism_type` is set to `"starlette"`.
- Loading branch information