Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid import of pkg_resource with Starlette integration #1836

Merged
merged 2 commits into from Jan 19, 2023

Commits on Jan 17, 2023

  1. 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"`.
    Mickaël Guérin authored and mgu committed Jan 17, 2023
    Copy the full SHA
    d4623f6 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2023

  1. Copy the full SHA
    61d0204 View commit details
    Browse the repository at this point in the history