Re: [google-appengine] EntityProto instance to Model instance?

2010-01-16 Thread Nickolas Daskalou
Does anyone have an answer for this? Google guys? 2010/1/15 Kapil Kaisare kksm19820...@gmail.com As an aside: what is an EntityProto, and is there a link in the GAE documentation for it? Regards, Kaisare, Kapil Sadashiv On Fri, Jan 15, 2010 at 09:37, Nickolas Daskalou

[google-appengine] EntityProto instance to Model instance?

2010-01-14 Thread Nickolas Daskalou
How can I convert an EntityProto to a Model instance? I have a Model method, pre_put(), that I want to call on each Model instance before it's Put into the Datastore, using hooks (eg: http://code.google.com/appengine/articles/hooks.html). My hook code looks like this: def hook(service, call,

Re: [google-appengine] EntityProto instance to Model instance?

2010-01-14 Thread Kapil Kaisare
As an aside: what is an EntityProto, and is there a link in the GAE documentation for it? Regards, Kaisare, Kapil Sadashiv On Fri, Jan 15, 2010 at 09:37, Nickolas Daskalou n...@daskalou.com wrote: How can I convert an EntityProto to a Model instance? I have a Model method, pre_put(), that