Google App Engine で pyamf を使用しています。pyamf エンコーディングからプロパティを除外しようとしています。これは私が使用している構文です:
class Comment(db.Model):
class __amf__:
exclude = ('article')
article = db.ReferenceProperty(Article)
comment = db.TextProperty()
これは ReferenceProperty では機能しませんが、「comment」属性で除外プロパティを試してみると機能します。除外プロパティが、別の ReferenceProperty 属性を持つクラスを含まない ReferenceProperty で機能することに気付きました。この場合、Article クラスは、別のクラスへの別の ReferenceProperty を保持します。何が問題なのですか?
前もって感謝します