Make type field in lsblk optional (#3633)
This commit is contained in:
parent
9dd92321a5
commit
19459731ad
|
|
@ -1615,7 +1615,7 @@ class LsblkInfo(BaseModel):
|
||||||
fsver: str | None
|
fsver: str | None
|
||||||
fsavail: int | None
|
fsavail: int | None
|
||||||
fsuse_percentage: str | None = Field(alias='fsuse%')
|
fsuse_percentage: str | None = Field(alias='fsuse%')
|
||||||
type: str
|
type: str | None # may be None for strange behavior with md devices
|
||||||
mountpoint: Path | None
|
mountpoint: Path | None
|
||||||
mountpoints: list[Path]
|
mountpoints: list[Path]
|
||||||
fsroots: list[Path]
|
fsroots: list[Path]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue