def __getitem__(self, key: str) -> Any:
    """Returns the value of the state dict for the given key."""
    if key in self._delta:
      return self._delta[key]
    return self._value[key]
Returns the value of the state dict for the given key.
src/google/adk/sessions/state.py