Created
December 1, 2010 05:17
-
-
Save eightysteele/722997 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A sample writing a BlobProperty to an external file. | |
# (Note: not a BlobReferenceProperty.) | |
- model: models.Attachment | |
connector: csv | |
connector_options: | |
encoding: utf-8 | |
columns: from_header | |
property_map: | |
- property: __key__ | |
external_name: ID | |
export_transform: datastore.Key.name | |
- property: filename | |
external_name: filename | |
- property: filecontents | |
external_name: local_filename | |
export_transform: | |
transform.blob_to_file('filename', 'AttachmentBlobs') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment