From 07e6d1e57c7ec7848f2b12d834d0dace38c06f5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 2 Oct 2024 10:55:00 +0200 Subject: [PATCH] vm_config: deprecate a few fields --- pkgs/clan-cli/clan_cli/vms/inspect.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/clan-cli/clan_cli/vms/inspect.py b/pkgs/clan-cli/clan_cli/vms/inspect.py index ecbfd6ba4..a2f5dc513 100644 --- a/pkgs/clan-cli/clan_cli/vms/inspect.py +++ b/pkgs/clan-cli/clan_cli/vms/inspect.py @@ -17,16 +17,20 @@ class WaypipeConfig: @dataclass class VmConfig: machine_name: str - machine_icon: Path - machine_description: str flake_url: FlakeId - clan_name: str cores: int memory_size: int graphics: bool + + # FIXME: I don't think this belongs here. + clan_name: str + machine_description: str | None + machine_icon: Path | None + waypipe: bool = False + def __post_init__(self) -> None: if isinstance(self.flake_url, str): self.flake_url = FlakeId(self.flake_url)