def pre_stage(overall, stage):
    """Prepare for running a stage.

    Args:
        overall (dict): overall configuration.
        stage (dict): configuration for this stage.

    Returns:
        - str: function name
        - dict: function parameters
    """
    func_name = stage["function"]
    params = overall | stage
    del params["function"]
    return func_name, params