Idoit-Tests 01
This commit is contained in:
13
idoit_scaleup/cat_access.py
Executable file
13
idoit_scaleup/cat_access.py
Executable file
@@ -0,0 +1,13 @@
|
||||
from .consts import C__CATG__ACCESS
|
||||
from .category import IDoitCategory
|
||||
|
||||
|
||||
class IDoitAccess(IDoitCategory):
|
||||
|
||||
CATEGORY = C__CATG__ACCESS
|
||||
|
||||
def __init__(self, cfg):
|
||||
super().__init__(cfg, self.CATEGORY)
|
||||
|
||||
def convert_field_with_name_primary(self, data):
|
||||
return int(data['primary']['value'])
|
||||
Reference in New Issue
Block a user