Skip to content

Document that start is run as soon as SchedulerPlugin is registered - #9364

Open
oxinabox wants to merge 1 commit into
dask:mainfrom
oxinabox:ox/start_doc
Open

Document that start is run as soon as SchedulerPlugin is registered#9364
oxinabox wants to merge 1 commit into
dask:mainfrom
oxinabox:ox/start_doc

Conversation

@oxinabox

Copy link
Copy Markdown

I was confused as to how SchedulerPlugin's start method would be run.
Since module some advanced stuff like preload scripts, most of the time by the time you have access to a Client object to call register_plugin on, the Scheduler has already started.
Then i checked the code and saw that start is also run when a plugin is registered.

result = plugin.start(self)

  • Tests added / passed
    (N/A docs only)
  • Passes pixi run lint

@github-actions

Copy link
Copy Markdown
Contributor

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

    40 files  ±0      40 suites  ±0   14h 8m 46s ⏱️ - 21m 9s
 4 160 tests ±0   3 981 ✅ +2    178 💤 ±0  1 ❌  - 2 
80 960 runs  ±0  76 720 ✅ +2  4 239 💤 ±0  1 ❌  - 2 

For more details on these failures, see this check.

Results for commit 6a45d6e. ± Comparison against base commit dc182bd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant