-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbulkloader.yaml
38 lines (32 loc) · 1.23 KB
/
bulkloader.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Autogenerated bulkloader.yaml file.
#
# Downlaod data with a command like this:
# appcfg.py download_data --config_file=bulkloader.yaml --filename=datastore/charjson_export.csv --kind=CharJson --url=http://dotty-dots.appspot.com/remote_api
#
# Upload data with a command like this:
# appcfg.py upload_data --config_file=bulkloader.yaml --filename=datastore/charjson_export.csv --kind=CharJson --url=http://<your-application>.appspot.com/remote_api
#
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
transformers:
- kind: CharJson
connector: csv
# connector_options:
# # TODO: Add connector options here--these are specific to each connector.
property_map:
- property: __key__
external_name: key
export_transform: transform.key_id_or_name_as_string
- property: chr
external_name: chr
# Type: String Stats: 93 properties of this type in this kind.
- property: json
external_name: json
# Type: Text Stats: 93 properties of this type in this kind.
import_transform: db.Text