Replace deprecated pydantic parse_raw() (#3004)
This commit is contained in:
parent
fbdb3c4f37
commit
0a9fae2e57
|
|
@ -1554,7 +1554,7 @@ def _fetch_lsblk_info(
|
||||||
raise err
|
raise err
|
||||||
|
|
||||||
output = worker.output(remove_cr=False)
|
output = worker.output(remove_cr=False)
|
||||||
return LsblkOutput.parse_raw(output)
|
return LsblkOutput.model_validate_json(output)
|
||||||
|
|
||||||
|
|
||||||
def get_lsblk_info(
|
def get_lsblk_info(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue