From 28dfcd25128e4cab34764abd1451f15529c4626d Mon Sep 17 00:00:00 2001 From: "Xiang (Sean) Zhou" Date: Mon, 16 Jun 2025 17:36:12 -0700 Subject: [PATCH] chore: Add experimental decorator to Oauth2 credential fethcer PiperOrigin-RevId: 772236406 --- src/google/adk/auth/oauth2_credential_fetcher.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/google/adk/auth/oauth2_credential_fetcher.py b/src/google/adk/auth/oauth2_credential_fetcher.py index 1a8692417d..cbed70762b 100644 --- a/src/google/adk/auth/oauth2_credential_fetcher.py +++ b/src/google/adk/auth/oauth2_credential_fetcher.py @@ -20,6 +20,7 @@ from fastapi.openapi.models import OAuth2 +from ..utils.feature_decorator import experimental from .auth_credential import AuthCredential from .auth_schemes import AuthScheme from .auth_schemes import OAuthGrantType @@ -37,8 +38,9 @@ logger = logging.getLogger("google_adk." + __name__) +@experimental class OAuth2CredentialFetcher: - """Exchanges and refreshes an OAuth2 access token.""" + """Exchanges and refreshes an OAuth2 access token. (Experimental)""" def __init__( self,