def validate(self, value):
if value is not None and not isinstance(value, Flow):
raise db.BadValueError('Property %s must be convertible '
'to a FlowThreeLegged instance (%s)' %
(self.name, value))
return super(FlowProperty, self).validate(value)
appengine.py 文件源码
python
阅读 17
收藏 0
点赞 0
评论 0
评论列表
文章目录