Feat(SQL, UI): 1. Dog Command Links page completed with get + set functionality. \n 2. Commands page and Command Categories page completed with get + set functionality.
This commit is contained in:
@@ -64,7 +64,7 @@ class Command_Category(SQLAlchemy_ABC, Base):
|
||||
command_category = cls()
|
||||
if json is None: return Command_Category
|
||||
# Helper_App.console_log(f'{_m}\njson: {json}')
|
||||
command_category.id_command_category = -1
|
||||
command_category.id_command_category = json.get(cls.ATTR_ID_COMMAND_CATEGORY, -1)
|
||||
command_category.code = json[cls.FLAG_CODE]
|
||||
command_category.name = json[cls.FLAG_NAME]
|
||||
command_category.active = json[cls.FLAG_ACTIVE]
|
||||
|
||||
Reference in New Issue
Block a user