From afb7a6eb923ee4d6f21d364f6ba25af46874a609 Mon Sep 17 00:00:00 2001 From: Mickael B Date: Mon, 3 Feb 2025 10:16:49 +0100 Subject: [PATCH] cpuset is optional --- deevirt_schema/libvirt/dom/config.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deevirt_schema/libvirt/dom/config.py b/deevirt_schema/libvirt/dom/config.py index 7a4d278..a441a7c 100644 --- a/deevirt_schema/libvirt/dom/config.py +++ b/deevirt_schema/libvirt/dom/config.py @@ -148,7 +148,7 @@ class VCPU(BaseXmlModel, search_mode='unordered'): auto = "auto" placement:placementEnum = attr(default=placementEnum.auto) - cpuset:str = attr(default=None) + cpuset:Optional[str] = attr(default=None) current:Optional[int] = attr(default=None) max:int = None diff --git a/setup.py b/setup.py index 2bf058c..14dc73d 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import find_packages, setup setup( name='deevirt_schema', - version='0.1.34', + version='0.1.35', description='Deevirt Schema', url='https://git.celeonet.fr/Deevirt/deevirt_schema.git', author='Celeonet',