def _merge_params(cli, config):
    """Merge CLI params with configuration file params. Note that the
    configuration params will overwrite the CLI params."""

    # update CLI params with configuration; overwrites
    params = dict(list(cli.items()) + list(config.items()))
    return params