Not sure, the only things I can think of is that I am doing other puts
to another model before that one? And also, I'm using db.Model not
db.Expando.

On Dec 18, 12:37 am, ryan <[email protected]> wrote:
> sorry for the trouble, and thanks for the detailed info! we definitely
> do want to figure out what's going on here.
>
> it doesn't seem quite as reproducible as get_or_insert() not working.
> for example, i just ran this inhttp://shell.appspot.com/:
>
> >>> class NewKind(db.Expando):
>   pass
> >>> list(NewKind.all())
> []
> >>> NewKind.get_or_insert('x')
> >>> list(NewKind.all())
>
> [<__main__.NewKind object at 0xf42e8100f27606b0>]>>> 
> NewKind.all().get().key().name()
>
> u'x'
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to