docs: improve docstring for 'list_block_devices'

This commit is contained in:
Johannes Kirschbauer
2025-07-07 10:46:26 +02:00
parent 1c33f30135
commit c503f41b7c

View File

@@ -124,9 +124,10 @@ def blk_from_dict(data: dict) -> BlkInfo:
@API.register
def list_block_devices() -> Blockdevices:
"""
Api method to show local block devices.
List local block devices by running `lsblk`.
It must return a list of block devices.
Returns:
A list of detected block devices with metadata like size, path, type, etc.
"""
cmd = nix_shell(