def _cast_params(rendered, parameter_schemas):
    """
    It's just here to make tests happy
    """
    casted_params = {}
    for k, v in six.iteritems(rendered):
        casted_params[k] = _cast(v, parameter_schemas[k] or {})
    return casted_params

    It's just here to make tests happy
    
st2common/st2common/util/param.py