【发布时间】:2012-08-03 06:56:31
【问题描述】:
从this stackoverflow answer,我知道我可以从我的数据库中获取一条记录,甚至不知道它的模型,我只需要密钥。如果可行,我该如何访问模型元数据以便找出它的种类?
更新 - 来自提供的答案
record_kind = record.kind()
#talk about being intuitive..... and thick
【问题讨论】:
标签: python google-app-engine google-cloud-datastore