feat: Device.repr_info()

This commit is contained in:
283375 2023-06-13 13:49:18 +08:00
parent b823339986
commit 7bf88a4d3d

View File

@ -32,3 +32,6 @@ class Device:
score=json_dict["score"],
title=json_dict["title"],
)
def repr_info(self):
return f"Device(version={self.version}, uuid={repr(self.uuid)}, name={repr(self.name)})"