开发者

Uploading lists with bulkupload in Google App Engine

开发者 https://www.devze.com 2023-01-17 05:57 出处:网络
In my 开发者_JS百科data model, one of my properties is a list.How do I tell the bulk loader to convert the string into a list delimited by \' \' (space)?- property: districts

In my 开发者_JS百科data model, one of my properties is a list. How do I tell the bulk loader to convert the string into a list delimited by ' ' (space)?


- property: districts
  external_name: DISTRICTS
  # Type: String Stats: 6000 properties of this type in this kind.
  import_transform: "lambda x: x.split(' ')"
  export_transform: "' '.join"
0

精彩评论

暂无评论...
验证码 换一张
取 消