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:
@@ -111,7 +111,7 @@ class Distraction(SQLAlchemy_ABC, Base):
|
||||
distraction.quantity = json[cls.FLAG_QUANTITY]
|
||||
distraction.proximity_metres = json[cls.FLAG_PROXIMITY_METRES]
|
||||
distraction.notes = json[cls.FLAG_NOTES]
|
||||
distraction.active = json[cls.FLAG_ACTIVE]
|
||||
distraction.active = av.input_bool(json[cls.FLAG_ACTIVE], cls.FLAG_ACTIVE, _m)
|
||||
distraction.created_on = json.get(cls.FLAG_CREATED_ON, None)
|
||||
# distraction.id_command_category = json[Command_Category.FLAG_COMMAND_CATEGORY]
|
||||
# Helper_App.console_log(f'Dog Command Link: {distraction}')
|
||||
|
||||
Reference in New Issue
Block a user