<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def series_upgrade_complete(resume_unit_helper=None, configs=None):
 """ Run common series upgrade complete tasks. :param resume_unit_helper: function: Function to resume unit :param configs: OSConfigRenderer object: Configurations :returns None: """

    clear_unit_paused()
    clear_unit_upgrading()
    if configs:
        configs.write_all()
        if resume_unit_helper:
            resume_unit_helper(configs)