def remove_empty_params(params):
    """Remove items from a :class:`dict` if no have a value."""
    r = {}
    for key, value in params.iteritems():
        if value:
            r[key] = value
    return r