I would like to pass a dict() of keyword arguments to populate values of an instance of the db.Model class.
the following code raises a BadValueError: class Person(db.Model): a=db.IntegerProperty() b=db.IntegerProperty() c=db.IntegerProperty() keys=['a','b','c'] values=['1','2','3'] data = dict(zip(keys,values)) person = Person(None,None,data) Please help? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---