true. i was cheating because i know the datastore internals, so i know what's relevant to problems like these and what isn't. Model vs. Expando, for example, generally isn't relevant.
still, following your code much more closely, http://shell.appspot.com/ still doesn't reproduce this. odd. >>> class TestModelA(db.Model): testval = db.StringProperty() >>> class TestModelB(db.Model): testval = db.StringProperty() >>> list(TestModelA.all()) [] >>> list(TestModelB.all()) [] >>> test1 = TestModelA(testval = "Test put 1") >>> test1.put() datastore_types.Key.from_path('TestModelA', 72663L, _app=u'shell') >>> test2 = TestModelB(testval = "Test put 2") >>> test2.put() datastore_types.Key.from_path('TestModelB', 73462L, _app=u'shell') >>> TestModelA().get_or_insert("goi_test", testval="get_or_insert test") <__main__.TestModelA object at 0x4a9988195796e710> >>> TestModelB().get_or_insert("goi_test2", testval="get_or_insert test 2") <__main__.TestModelB object at 0x386035de932ed718> >>> list(TestModelA.all()) [<__main__.TestModelA object at 0xbad1185da0f83490>, <__main__.TestModelA object at 0xbad1185da0f83550>] >>> list(TestModelB.all()) [<__main__.TestModelB object at 0x4a9988195796e3d0>, <__main__.TestModelB object at 0x4a9988195796e290>] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---