Idoit-Tests 01
This commit is contained in:
13
idoit_scaleup/cat_cpu.py
Executable file
13
idoit_scaleup/cat_cpu.py
Executable file
@@ -0,0 +1,13 @@
|
||||
from .consts import C__CATG__CPU
|
||||
from .category import IDoitCategory
|
||||
|
||||
|
||||
class IDoitCpu(IDoitCategory):
|
||||
|
||||
CATEGORY = C__CATG__CPU
|
||||
|
||||
def __init__(self, cfg):
|
||||
super().__init__(cfg, self.CATEGORY)
|
||||
|
||||
def convert_field_with_name_frequency(self, data):
|
||||
return float(data['frequency']['title'])
|
||||
Reference in New Issue
Block a user