Skip to content

Commit

Permalink
Tweak exception text
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson committed Oct 15, 2024
1 parent 1d2044d commit 9be2d8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions distributed/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -5106,8 +5106,8 @@ def _register_plugin(
for c in plugin.__class__.__bases__
):
raise TypeError(
"Importing plugin base classes from `from dask.distributed.diagnostics.plugin` "
"is not supported. Please import directly from `distributed.diagnostics.plugin` instead."
"Importing plugin base classes from `dask.distributed.diagnostics.plugin` is not supported. "
"Please import directly from `distributed.diagnostics.plugin` instead."
)
raise TypeError(
"Registering duck-typed plugins is not allowed. Please inherit from "
Expand Down

0 comments on commit 9be2d8d

Please sign in to comment.