I've been using appcfg.py to upload_data pretty successfully, but I'm not sure how to set up the import transform in bulkloader.yaml
for repeated properties or how to structure the CSV. For example:
In a post model that looks like this:
class Post(models.Model):
tags = ndb.StringProperty(repeated=True)
and a bulkloader.yaml
looks like this:
transformers:
- kind: Post
connector: csv
property_map:
- property: __key__
external_name: key
export_transform: transform.key_id_or_name_as_string
- property: tags
external_name: tags
import_transform: ???
is import_transform
the right API to register for this? Or is there some other way to do this?