Fix type hint for get_known_disk_attributes()

This commit is contained in:
2Shirt 2023-05-29 17:47:58 -07:00
parent dbb606601d
commit de7993c39c
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

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