Replace deprecated pydantic parse_raw() (#3004)

This commit is contained in:
codefiles 2024-12-06 18:20:23 -05:00 committed by GitHub
parent fbdb3c4f37
commit 0a9fae2e57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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(