From 778b18f393e53fbfe7bec76760c4361289034f2d Mon Sep 17 00:00:00 2001 From: "j.gohier" Date: Wed, 16 Oct 2024 12:23:53 +0200 Subject: [PATCH] change VM --- api/vm.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/vm.py b/api/vm.py index 0e63d04..90e1735 100644 --- a/api/vm.py +++ b/api/vm.py @@ -40,10 +40,10 @@ class OSBootOrder(BaseModel): class OSInfo(BaseModel): model_config = ConfigDict(from_attributes=True) - name:str = Field(alias="os.name", serialization_alias="os_name") - version:str = Field(alias="os.version-id", serialization_alias="os_version") - machine:str = Field(alias="os.machine", serialization_alias="os_machine") - kernel:str = Field(alias="os.kernel-release", serialization_alias="os_kernel_release") + name:str = Field(alias="os.name") + version:str = Field(alias="os.version-id") + machine:str = Field(alias="os.machine") + kernel:str = Field(alias="os.kernel-release") class OS(BaseModel): firmware:configDom.OS.firmwareEnum = Field(default=configDom.OS.firmwareEnum.bios, description="Microprogramme")