Skip to content

Commit

Permalink
fix some of the annotations on Disk
Browse files Browse the repository at this point in the history
Some of these are probably not really Optional but well.
  • Loading branch information
mwhudson committed Jul 20, 2023
1 parent 9a57299 commit 891c866
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions subiquity/models/filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -619,15 +619,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)
Expand Down

0 comments on commit 891c866

Please sign in to comment.