Python 使用ComputedProperty安全吗?

Python 使用ComputedProperty安全吗?,python,google-app-engine,Python,Google App Engine,我需要在App Engine中支持计算属性。我下载了最新的源代码版本,试图自己实现它们。在浏览代码时,我遇到了一个属性类,它似乎已经完全满足了我的需要 class ComputedProperty(Property): """Property used for creating properties derived from other values. Certain attributes should never be set by users but automatically

我需要在App Engine中支持计算属性。我下载了最新的源代码版本,试图自己实现它们。在浏览代码时,我遇到了一个属性类,它似乎已经完全满足了我的需要

class ComputedProperty(Property):
  """Property used for creating properties derived from other values.

  Certain attributes should never be set by users but automatically
  calculated at run-time from other values of the same entity.  These
  values are implemented as persistent properties because they provide
  useful search keys.

  ...
  """
问题是它没有记录;我在官方文档中找不到任何关于
ComputedProperty
的信息


因此,
ComputedProperty
是否可以安全使用,或者它是否有缺陷或/或可能会发生更改?

ComputedProperty
似乎是名为的自定义属性类的“端口”(缺少更好的词)


由于Nick的博客文章显示了创建自定义数据存储
属性
类是多么容易,因此我不太担心
ComputedProperty
,因为如果需要,您可以随时用自己的
属性
子类替换它。

这些已经发布并记录,至少对于NDB API而言: