# -*- coding: utf-8 -*- #!/usr/bin/env python from apps.web.core.validation import Schema, Required, Coerce, REMOVE_EXTRA logicalCodeRange = Schema( { Required('start'): Coerce(int), Required('end'): Coerce(int) }, extra=REMOVE_EXTRA )