Source

rudixweb / bulkloader.yaml

Full commit
# Autogenerated bulkloader.yaml file.
# You must edit this file before using it. TODO: Remove this line when done.
# At a minimum address the items marked with TODO:
#  * Fill in connector and connector_options
#  * Review the property_map.
#    - Ensure the 'external_name' matches the name of your CSV column,
#      XML tag, etc.
#    - Check that __key__ property is what you want. Its value will become
#      the key name on import, and on export the value will be the Key
#      object.  If you would like automatic key generation on import and
#      omitting the key on export, you can remove the entire __key__
#      property from the property map.

# If you have module(s) with your model classes, add them here. Also
# change the kind properties to model_class.
python_preamble:
- import: base64
- import: re
- import: google.appengine.ext.bulkload.transform
- import: google.appengine.ext.bulkload.bulkloader_wizard
- import: google.appengine.ext.db
- import: google.appengine.api.datastore
- import: google.appengine.api.users
- import: main

transformers:
- kind: Port
  connector: csv
  property_map:
    - property: name
      external_name: name
      import_transform: str
    - property: title
      external_name: title
      import_transform: str
    - property: version
      external_name: version
      import_transform: str
    - property: revision
      external_name: revision
      import_transform: str
    - property: license
      external_name: license
      import_transform: str
    - property: summary
      external_name: summary
      import_transform: str
    - property: description
      external_name: description
      import_transform: db.Text
    - property: site
      external_name: site
      import_transform: str