|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
|
|
|
|
|
from dataclasses import dataclass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@dataclass
|
|
|
|
|
class BlockDevice:
|
|
|
|
|
device: str
|
|
|
|
@ -13,5 +13,8 @@ class BlockDevice:
|
|
|
|
|
self.description = description
|
|
|
|
|
|
|
|
|
|
def __str__(self):
|
|
|
|
|
return f"BlockDevice(device={self.device}, cluster={self.cluster}, description={self.description})"
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
f"BlockDevice(device={self.device},"
|
|
|
|
|
f" cluster={self.cluster},"
|
|
|
|
|
f" description={self.description})"
|
|
|
|
|
)
|
|
|
|
|