Bulkloading schema less entities on Google App Engine
Posted
by Rahul
on Stack Overflow
See other posts from Stack Overflow
or by Rahul
Published on 2010-05-24T23:46:27Z
Indexed on
2010/05/24
23:51 UTC
Read the original article
Hit count: 287
google-app-engine
|bulk-load
The new bulkloader added into SDK 1.3.4 works great for models that have a schema. For models inheriting db.Expando (or loosely defined schemas) i would like to understand what i would have to do to bulk upload them.
I defined a custom connector, that implemented the ConnectorInterface and converted my data to the python dict required. How can i use this dict to define entities that get uploaded to the data store ?
In the documentation there seems to be a post_import_function that can be used to return the entities that get uploaded. Is there an example on how this function is used ?
© Stack Overflow or respective owner