我需要支持App Engine中的計算屬性。我下載了最新的源代碼版本,以便自己嘗試並實施它們。雖然通過代碼,我碰到一個財產類,似乎正好我所需要的。使用ComputedProperty安全嗎?
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
是否安全使用,或者它是越野車或/和可能會改變?