blob: 0768120a74f7d0e1f1b35f279260eae5b2148e80 [file]
# Copyright 2026 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from typing import Any, ClassVar, Final, Literal
from pydantic import Field
from shared.protocol.base import THREAD_ID_ALIAS, BaseRequest
COMMAND_NAME: Final = "finish"
class FinishRequest(BaseRequest[dict[str, Any]]):
"""Request to finish execution of current frame (step out)."""
command: Literal["finish"] = COMMAND_NAME
thread_id: int = Field(validation_alias=THREAD_ID_ALIAS)
single_thread: bool | None = None
response_type: ClassVar[Any] = dict[str, Any]