Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve plugin API documentation #7653

Merged
merged 4 commits into from
Mar 14, 2023
Merged

Improve plugin API documentation #7653

merged 4 commits into from
Mar 14, 2023

Conversation

fjetter
Copy link
Member

@fjetter fjetter commented Mar 14, 2023

I was made aware of the documentation of our plugins to be a bit misleading and outdated. This should reflect reality a bit better and add some links to relevant pages.

Copy link
Member

@jacobtomlinson jacobtomlinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

For a description of the transition mechanism and the available states,
see :ref:`Scheduler task states <scheduler-task-state>`.

Note::
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this should be a warning?

Suggested change
Note::
Warning::

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, I was not sure how much I wanted to scare people off... I personally would prefer for this API not even to exist so I guess a warning is indeed more appropriate :)

Copy link
Member

@jrbourbeau jrbourbeau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall -- I left a few minor suggestions. @fjetter it's close to EOD for you, if you'd like me to push this over the finish line, just let me know

distributed/diagnostics/plugin.py Outdated Show resolved Hide resolved
distributed/diagnostics/plugin.py Outdated Show resolved Hide resolved
distributed/diagnostics/plugin.py Outdated Show resolved Hide resolved
@jrbourbeau jrbourbeau changed the title Plugin docs Improve plugin API documentation Mar 14, 2023
@jrbourbeau jrbourbeau merged commit 89d5ad4 into dask:main Mar 14, 2023
ypogorelova pushed a commit to ypogorelova/distributed that referenced this pull request Mar 16, 2023
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.

3 participants