def get_state_delta(self) -> dict[str, Any]:
    """Gets the state delta to update in the persistent session state.

    Returns:
      The state delta to update in the persistent session state.
    """
    context_to_update = copy.deepcopy(self._context)
    return {_CONTEXT_KEY: context_to_update}
Gets the state delta to update in the persistent session state.

    Returns:
      The state delta to update in the persistent session state.
    
src/google/adk/code_executors/code_executor_context.py