Skip to content

Commit

Permalink
Fixes to documentation regarding plugins (#5940)
Browse files Browse the repository at this point in the history
* this example now runs as intended

* update a typo
  • Loading branch information
crendoncoiled authored Mar 18, 2022
1 parent 9f7027e commit 5dd80f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion distributed/diagnostics/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ class WorkerPlugin:
... exc_info=exc_info
... )
>>> plugin = ErrorLogger()
>>> import logging
>>> plugin = ErrorLogger(logging)
>>> client.register_worker_plugin(plugin) # doctest: +SKIP
"""

Expand Down

0 comments on commit 5dd80f3

Please sign in to comment.