def METHOD_NAME(path: str) -> "wandb.Run":
    api = Api()
    tries = 0
    run = None
    while not (run and run.state == "finished") and tries < 8:
        # Sometimes takes a bit for the run's completion to populate in W&B
        try:
            run = api.run(path=path)
            run.load(force=True)
        except wandb.errors.CommError:
            pass
        sleep(2**tries)
        tries += 1
    return run