def METHOD_NAME(
    gx: nx.DiGraph,
    dry_run: bool = False,
    job=1,
    n_jobs=1,
) -> nx.DiGraph:
    succeeded_refresh, failed_refresh = _update_pr(
        close_out_dirty_prs,
        dry_run,
        gx,
        job,
        n_jobs,
    )
    logger.info(f"close dirty PRs failed for {failed_refresh} PRs")
    logger.info(f"close dirty PRs succeed for {succeeded_refresh} PRs")
    return gx