Fix type hint for get_known_disk_attributes()
This commit is contained in:
parent
dbb606601d
commit
de7993c39c
1 changed files with 1 additions and 1 deletions
|
|
@ -201,7 +201,7 @@ def get_attribute_value_string(dev, attr) -> str:
|
|||
return value_str
|
||||
|
||||
|
||||
def get_known_disk_attributes(model) -> None:
|
||||
def get_known_disk_attributes(model) -> dict[str | int, dict[str, Any]]:
|
||||
"""Get known disk attributes based on the device model."""
|
||||
known_attributes = copy.deepcopy(KNOWN_DISK_ATTRIBUTES)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue