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:
@@ -85,7 +85,7 @@ class Location(SQLAlchemy_ABC, Base):
|
||||
location.id_location_parent = json[Location.FLAG_LOCATION_PARENT]
|
||||
location.name = json[cls.FLAG_NAME]
|
||||
location.code = json.get(cls.FLAG_CODE, location.name.upper().replace(" ", "_"))
|
||||
location.active = json[cls.FLAG_ACTIVE]
|
||||
location.active = av.input_bool(json[cls.FLAG_ACTIVE], cls.FLAG_ACTIVE, _m)
|
||||
location.created_on = json.get(cls.FLAG_CREATED_ON, None)
|
||||
# Helper_App.console_log(f'Location: {location}')
|
||||
return location
|
||||
|
||||
Reference in New Issue
Block a user