Update readonly_context.py

This commit is contained in:
seanzhou1023
2025-07-11 15:31:13 -07:00
committed by GitHub
parent d3b500bd68
commit 080edded76
@@ -23,7 +23,6 @@ if TYPE_CHECKING:
from google.genai import types
from .invocation_context import InvocationContext
from ..auth.credential_service.base_credential_service import BaseCredentialService
class ReadonlyContext:
@@ -53,8 +52,3 @@ class ReadonlyContext:
def state(self) -> MappingProxyType[str, Any]:
"""The state of the current session. READONLY field."""
return MappingProxyType(self._invocation_context.session.state)
@property
def credential_service(self) -> Optional[BaseCredentialService]:
"""The credential service for the current invocation."""
return self._invocation_context.credential_service