def __join_params(params: list, sep='; ') -> str:
    """ Join non-empty parameters.

    Parameter:
    params (list): parameters to join
    sep (str): separator

    Returns:
    string of parameters joined by separator

    """
    return sep.join((param for param in params if param))