diff --git a/deevirt_schema/libvirt/dom/config.py b/deevirt_schema/libvirt/dom/config.py index 11e8970..7a4d278 100644 --- a/deevirt_schema/libvirt/dom/config.py +++ b/deevirt_schema/libvirt/dom/config.py @@ -149,7 +149,7 @@ class VCPU(BaseXmlModel, search_mode='unordered'): placement:placementEnum = attr(default=placementEnum.auto) cpuset:str = attr(default=None) - current:int = attr() + current:Optional[int] = attr(default=None) max:int = None class VCPUS(BaseXmlModel, search_mode='unordered'): diff --git a/setup.py b/setup.py index 5fb2a6f..ce7285f 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import find_packages, setup setup( name='deevirt_schema', - version='0.1.31', + version='0.1.32', description='Deevirt Schema', url='https://git.celeonet.fr/Deevirt/deevirt_schema.git', author='Celeonet',