docs: def run(wf, *, display, n_threads=1):
      """Run the workflow using the dynamic-exclusion worker."""
      worker = dynamic_exclusion_worker(display, n_threads)
      return noodles.Scheduler(error_handler=display.error_handler)\
          .run(worker, get_workflow(wf))