[google-appengine] Re: Seeking example of bulk loader post_import_function to skip records

2011-04-03 Thread DocDay
I did find this, but haven't tried it yet: http://appengine-cookbook.appspot.com/recipe/skipping-rows-on-bulk-uploading/?id=ahJhcHBlbmdpbmUtY29va2Jvb2tylwELEgtSZWNpcGVJbmRleCI8YWhKaGNIQmxibWRwYm1VdFkyOXZhMkp2YjJ0eUZ3c1NDRU5oZEdWbmIzSjVJZ2xFWVhSaGMzUnZjbVVNDAsSBlJlY2lwZSI-YWhKaGNIQmxibWRwYm1VdFkyOX

[google-appengine] Re: Seeking example of bulk loader post_import_function to skip records

2011-03-17 Thread Petey
Nevermind. I thought this worked, but it just inserts a nulled out version of the entity. On Mar 16, 10:33 pm, Petey wrote: > Figured out either the solution or workaround. > > Just return an empty entity. So if the entity you are bulk loading is > Foo then just do: > > return Foo() > > On Mar 16

[google-appengine] Re: Seeking example of bulk loader post_import_function to skip records

2011-03-16 Thread Petey
Figured out either the solution or workaround. Just return an empty entity. So if the entity you are bulk loading is Foo then just do: return Foo() On Mar 16, 10:17 pm, Petey wrote: > I'm looking for the same answer. I do a duplicate check before > importing and want to not insert it if it matc

[google-appengine] Re: Seeking example of bulk loader post_import_function to skip records

2011-03-16 Thread Petey
I'm looking for the same answer. I do a duplicate check before importing and want to not insert it if it matches something already in the db. And I get the same error when I return None, when the documentation says to do that if you want to skip it. On Mar 5, 1:52 pm, DocDay wrote: > Bulk loader