Download data/copilotj/plugin/awt/component/canvas_node.py from introvoyz045/CopilotJ: direct link, hf CLI and curl.
- Browser
- Download file 349 Bytes
-
https://huggingface.co/datasets/introvoyz045/CopilotJ/resolve/main/data/copilotj/plugin/awt/component/canvas_node.py
- Command line
-
hf download hf://datasets/introvoyz045/CopilotJ/data/copilotj/plugin/awt/component/canvas_node.py
-
curl -L -o canvas_node.py https://huggingface.co/datasets/introvoyz045/CopilotJ/resolve/main/data/copilotj/plugin/awt/component/canvas_node.py
349 Bytes
| # SPDX-FileCopyrightText: Copyright contributors to the CopilotJ project. | |
| # | |
| # SPDX-License-Identifier: Apache-2.0 | |
| from typing import Literal | |
| from copilotj.plugin.awt._base import ComponentBase | |
| __all__ = ["CanvasNode"] | |
| class CanvasNode(ComponentBase[Literal["java.awt.Canvas"]]): | |
| def _describe_one_line(self) -> str: | |
| return "Canvas" | |