GAE - 访问模型元数据

时间:2012-08-03 06:56:31

标签: python google-app-engine google-cloud-datastore

this stackoverflow answer开始,我收集我可以从我的数据库中获取记录,甚至不知道它的模型,我只需要密钥。如果这样可行,那么我该如何访问模型元数据以便找到它的类型?

更新 - 从提供的答案

record_kind = record.kind()
#talk about being intuitive..... and thick

1 个答案:

答案 0 :(得分:2)