Hi,

I've tried to convert my "old" Loader class to the new Bulkloader.
I must admit, I've failed ;)

First, I've found that with the new Bulkloader, it's very easy to donwload 
datas.
Uploading, is another story... particularly if you want to execute post 
functions on entities.

Here is a list of thing that I didn't manage to do/understand,.... with the 
new bulkloader

   - how to add external modules (sys.path) else all files must be in the 
   same dir.
   - how to execute a method attached to a model
   - the new bulkloader doesn't check the model (required, type, 
   default....)
   - db.ComputedProperty or even DateTimeProperty with auto_add_ are not 
   executed
   - in the examples 
   (http://bulkloadersample.appspot.com/showfile/bulkloader.yaml), it adds 
   "import model", I thought it was "the key to make it works". But no.. I 
   don't understand why I have to that, it changes nothing but it creates Kind 
   with name "models.MyModel". Bad.
   - the create_bulkloader_config function prepares the config_file for the 
   download, to upload datas you have to add all transforms import else datas 
   like (geo, list,...) are imported as string.
   - post_import_function returns a dict not an entity. It's probably better 
   for performance but more complicated
   
Most of these are easier with the Loader class.

You can find on Stackoverflow or in this group about : import_template, 
export, post_import_function, post_export_function but nothing really 
usefull in the official documentation (examples ?).

To make it works, you have to spend more time to prepare the datas than with 
the old Loader class.

Currenlty I use the loader class and the transform.py from the new 
Bulkloader.

Any other experiences with the new bulkloader ?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/4GGjj5vRjFsJ.
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