Download data/copilotj/plugin/snapshot_manager.py from introvoyz045/CopilotJ: direct link, hf CLI and curl.
- Browser
- Download file 659 Bytes
-
https://huggingface.co/datasets/introvoyz045/CopilotJ/resolve/main/data/copilotj/plugin/snapshot_manager.py
- Command line
-
hf download hf://datasets/introvoyz045/CopilotJ/data/copilotj/plugin/snapshot_manager.py
-
curl -L -o snapshot_manager.py https://huggingface.co/datasets/introvoyz045/CopilotJ/resolve/main/data/copilotj/plugin/snapshot_manager.py
659 Bytes
| # SPDX-FileCopyrightText: Copyright contributors to the CopilotJ project. | |
| # | |
| # SPDX-License-Identifier: Apache-2.0 | |
| from typing import Any | |
| from copilotj.plugin._base import Request | |
| from copilotj.plugin.awt import SnapshotDifference | |
| from copilotj.plugin.awt.action import TypedActionResponse | |
| __all__ = ["CompareSnapshotRequest"] | |
| class CompareSnapshotRequest(Request[SnapshotDifference], event="compare_snapshots", response_type=SnapshotDifference): | |
| id_early: int | |
| id_later: int | None | |
| class ActionRequest(Request[Any], event="run_action", response_type=TypedActionResponse): | |
| snapshot_id: int | |
| action_id: int | |
| parameters: list[Any] | None | |