Skip to content

Commit

Permalink
Replace deprecated pydantic parse_raw() (archlinux#3004)
Browse files Browse the repository at this point in the history
  • Loading branch information
codefiles authored and castillofrancodamian committed Dec 21, 2024
1 parent 8e21ba7 commit d561e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archinstall/lib/disk/device_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1554,7 +1554,7 @@ def _fetch_lsblk_info(
raise err

output = worker.output(remove_cr=False)
return LsblkOutput.parse_raw(output)
return LsblkOutput.model_validate_json(output)


def get_lsblk_info(
Expand Down

0 comments on commit d561e41

Please sign in to comment.