@@ -0,0 +1,247 @@
+from webargs import fields%0Afrom settings import RESIZE_METHODS%0A%0Aimage_args = %7B%0A    'w': fields.Int(validate=lambda val: val %3E 1),%0A    'h': fields.Int(validate=lambda val: val %3E 1),%0A    't': fields.Str(validate=lambda val: val in RESIZE_METHODS)%0A%7D%0A

add fields for validation of arguments