Merge pull request #1733 from mwhudson/disk-annotations

fix some of the annotations on Disk
This commit is contained in:
Michael Hudson-Doyle 2023-07-20 20:03:27 +12:00 committed by GitHub
commit 5a4686fd01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -626,15 +626,15 @@ class Dasd:
@fsobj("disk")
class Disk(_Device):
ptable: Optional[str] = attributes.ptable()
serial: str = None
wwn: str = None
multipath: str = None
path: str = None
serial: Optional[str] = None
wwn: Optional[str] = None
multipath: Optional[str] = None
path: Optional[str] = None
wipe: Optional[str] = None
preserve: str = False
preserve: bool = False
name: str = ""
grub_device: bool = False
device_id: str = None
device_id: Optional[str] = None
_info: StorageInfo = attributes.for_api()
_has_in_use_partition: bool = attributes.for_api(default=False)