def coerce_types(**kwargs):
 def _coerce(types):
  return coerce(*types)
 return preprocess(**valmap(_coerce, kwargs))

def coerce_types ( ** kwargs ) : def _coerce ( types ) : return coerce ( * types ) return preprocess ( ** valmap ( _coerce , kwargs ) )
preprocessing decorator that applies type coercions .