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
parent f161149680
commit 8cdac3d2f8
2 changed files with 17 additions and 1 deletions
+17 -1
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",
]