我想使用结构化属性,并创建了一个非常简单的示例。你知道吗
class StudentScore(EndpointsModel):
name = ndb.StringProperty()
mark = ndb.StringProperty()
class MyModel(EndpointsModel):
scores = ndb.StructuredProperty(StudentScore)
但是,我在尝试放置()时出错。你知道吗
AttributeError: 'StudentScore' object has no attribute '_Message__decoded_fields'
目前没有回答
相关问题 更多 >
编程相关推荐