python - Generating a default value with the Google App Engine Bulkloader -
i have used bulkloader project before, added new field timestamp when record modified. new field giving me trouble, though, because it's defaulting null. short of manually inserting timestamp in csv before importing it, there way can insert current right data? assume need toward import_transform line, know nothing of python (my app in java).
ideally, i'd insert current timestamp (milliseconds since epoch) automatically. if that's non-trivial, maybe set value statically in transform statement before running import. thanks.
defining custom conversion function, did, correct method. don't have modify transform.py, though - put function in file in own app, , import in yaml file's python_preamble.
Comments
Post a Comment