Feat: Assessment page completed with save method combining Assessment, Distraction, Assessment Command Modality Link, and Assessment Response save for creating new complete Assessnent.
This commit is contained in:
@@ -68,7 +68,7 @@ class Lighting_Level(SQLAlchemy_ABC, Base):
|
||||
lighting_level.id_lighting_level = json.get(Lighting_Level.ATTR_ID_LIGHTING_LEVEL, -1)
|
||||
lighting_level.name = json[cls.FLAG_NAME]
|
||||
lighting_level.code = json.get(cls.FLAG_CODE, lighting_level.name.upper().replace(" ", "_"))
|
||||
lighting_level.active = json[cls.FLAG_ACTIVE]
|
||||
lighting_level.active = av.input_bool(json[cls.FLAG_ACTIVE], cls.FLAG_ACTIVE, _m)
|
||||
lighting_level.created_on = json.get(cls.FLAG_CREATED_ON, None)
|
||||
# Helper_App.console_log(f'Lighting_Level: {lighting_level}')
|
||||
return lighting_level
|
||||
|
||||
Reference in New Issue
Block a user