i know about the expando but when i use e = datastore.Entity(kind='test') the entity is not Expando, so i can't use it. i want to define both the entity and its properties at run time and i want the properties to be of GAE types. can it be done?
On Apr 7, 6:43 pm, Barry Hunter <barrybhun...@googlemail.com> wrote: > have you looked > athttp://code.google.com/appengine/docs/python/datastore/expandoclass.html > > On 07/04/2009,GTako<tako.ko...@gmail.com> wrote: > > > > > i want to create entities by name(kind) and with APE properties type. > > > the code bellow solved only 1 part of the problem: > > e = datastore.Entity(kind='test') > > e['name'] = 'My Test Entity' > > datastore.Put([e]) > > > i want 'name' to be a 'StringProrperty()'.. > > is it possible? > > -- > Barry > > -www.nearby.org.uk-www.geograph.org.uk- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---