Feat(SQL, UI): Button Icons page, Command Button Links page created with get and set functionality.
This commit is contained in:
@@ -74,7 +74,7 @@ class Dog(SQLAlchemy_ABC, Base):
|
||||
dog = cls()
|
||||
if json is None: return Dog
|
||||
# Helper_App.console_log(f'{_m}\njson: {json}')
|
||||
dog.id_dog = -1
|
||||
dog.id_dog = json.get(Dog.ATTR_ID_DOG, -1)
|
||||
dog.name = json[cls.FLAG_NAME]
|
||||
dog.appearance = json[cls.FLAG_APPEARANCE]
|
||||
dog.mass_kg = json[cls.FLAG_MASS_KG]
|
||||
|
||||
Reference in New Issue
Block a user