def createDictonary(self, student):
     try:
         Student.create(**student)
     except Exception:
         print("Error: unable to update database entry")
         traceback.print_exc()
Esempio n. 2
0
 def createDictonary(self, student):
     try:
         Student.create(**student)
     except Exception:
         print("Error: unable to update database entry")
         traceback.print_exc()