blob: 7e67371e759bf87ff0115b3426e28c81e074b2fa [file] [edit]
# 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 Literal
from shared.protocol.base import BaseRequest
class AttachRequest(BaseRequest):
"""Request to attach to a process."""
command: Literal["attach"] = "attach"
# Place 'int' first in the Union to avoid Pydantic standard coercion of
# PIDs to strings.
filter: int | str