mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 12:56:30 +00:00
switch from hardware object to string
and replace mac address to disk serial number for more predictable hash key
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
cdef class HardwareInfo:
|
||||
cdef str cpu, gpu, memory, mac_address
|
||||
cdef to_json_object(self)
|
||||
|
||||
cdef class HardwareService:
|
||||
cdef bint is_windows
|
||||
cdef get_mac_address(self, interface=*)
|
||||
|
||||
@staticmethod
|
||||
cdef has_nvidia_gpu()
|
||||
cdef HardwareInfo get_hardware_info(self)
|
||||
cdef str get_hardware_info(self)
|
||||
Reference in New Issue
Block a user