Make type field in lsblk optional (#3633)

This commit is contained in:
Daniel Girtler 2025-06-27 20:31:04 +10:00 committed by GitHub
parent 9dd92321a5
commit 19459731ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1615,7 +1615,7 @@ class LsblkInfo(BaseModel):
fsver: str | None
fsavail: int | None
fsuse_percentage: str | None = Field(alias='fsuse%')
type: str
type: str | None # may be None for strange behavior with md devices
mountpoint: Path | None
mountpoints: list[Path]
fsroots: list[Path]