Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/b/o/bodhi-HEAD/bodhi/schemas.py   bodhi(Download)
    request = colander.SchemaNode(
        colander.String(),
        validator=colander.OneOf(UpdateRequest.values()),
        missing='testing',
    )
        location="querystring",
        missing=None,
        validator=colander.OneOf(UpdateRequest.values()),
    )
 
class UpdateRequestSchema(colander.MappingSchema):
    request = colander.SchemaNode(
        colander.String(),
        validator=colander.OneOf(UpdateRequest.values()),
    )