コード例 #1
0
 class LoadSchemaField(Schema):
     test_object = fields.Instance(TestObject, field='names')
コード例 #2
0
 class LoadSchemaReturnField(Schema):
     test_object = fields.Instance(TestObject, return_field='id')
コード例 #3
0
 class LoadSchemaReturnFieldNotFound(Schema):
     test_object = fields.Instance(TestObject, return_field='not_found')
コード例 #4
0
 class LoadSchemaCheckDeletedBy(Schema):
     test_object = fields.Instance(TestObject,
                                   allow_deleted=True,
                                   check_deleted_by='status')
コード例 #5
0
 class LoadSchemaNotAllowDeleted(Schema):
     test_object = fields.Instance(TestObject)
コード例 #6
0
 class LoadSchema(Schema):
     test_object = fields.Instance(TestObject)
コード例 #7
0
 class LoadSchemaAllowDeleted(Schema):
     test_object = fields.Instance(TestObject, allow_deleted=True)
コード例 #8
0
 class LoadSchemaAssertEveryEmptyList(Schema):
     test_objects = fields.Instance(TestObject,
                                    many=True,
                                    assert_every=True)
コード例 #9
0
 class LoadSchemaNotAllWhereFound(Schema):
     test_objects = fields.Instance(TestObject,
                                    many=True,
                                    assert_every=True)
コード例 #10
0
 class LoadSchemaNotFoundMany(Schema):
     test_objects = fields.Instance(TestObject, many=True)
コード例 #11
0
 class LoadSchemaInvalidIds(Schema):
     test_objects = fields.Instance(TestObject, many=True)
コード例 #12
0
 class LoadSchemaStringInValue(Schema):
     test_objects = fields.Instance(TestObject, many=True)