Skip to content

Add has_scheduler_plugin() to check plugin registration - #9367

Open
Karunasagar12 wants to merge 2 commits into
dask:mainfrom
Karunasagar12:add-has-scheduler-plugin
Open

Karunasagar12 wants to merge 2 commits into
dask:mainfrom
Karunasagar12:add-has-scheduler-plugin

Conversation

@Karunasagar12

Copy link
Copy Markdown

Fixes #9106

Add  method to both Scheduler and Client to check
whether a scheduler plugin with a given name is currently registered.

- Scheduler.has_scheduler_plugin(name): returns bool indicating if plugin exists
- Client.has_scheduler_plugin(name): wrapper that calls scheduler via RPC
- Added RPC handler registration in Scheduler.handlers

This addresses the need to verify plugin registration before performing
operations that depend on plugin presence, such as checking for logging
configuration plugins before job submission.

Fixes dask#9106
@github-actions

github-actions Bot commented Sep 27, 2026 •

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 1s ⏱️ - 39m 1s
 4 161 tests + 1   3 980 ✅ ± 0    178 💤 ±0  3 ❌ +1 
80 978 runs  +17  76 735 ✅ +16  4 239 💤  - 1  4 ❌ +2 

For more details on these failures, see this check.

Results for commit 3daa9dd. ± Comparison against base commit dc182bd.

♻️ This comment has been updated with latest results.

@Karunasagar12

Copy link
Copy Markdown
Author

Fixed pre-commit formatting issues.

This branch has not been deployed

No deployments
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.

check if a Plugin is present

1 participant