Fix pyright error and replace wildcard import with explicit imports (#1532)

This commit is contained in:
Max Isbey 2025-10-29 18:32:26 +00:00 • committed by GitHub
commit 8cdac3d2f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 17 additions and 1 deletions

View file

@ -4,4 +4,20 @@ OAuth2 Authentication implementation for HTTPX.
Implements authorization code flow with PKCE and automatic token refresh.
"""
from mcp.client.auth.oauth2 import * # noqa: F403
from mcp.client.auth.oauth2 import (
OAuthClientProvider,
OAuthFlowError,
OAuthRegistrationError,
OAuthTokenError,
PKCEParameters,
TokenStorage,
)
__all__ = [
"OAuthClientProvider",
"OAuthFlowError",
"OAuthRegistrationError",
"OAuthTokenError",
"PKCEParameters",
"TokenStorage",
]