Skip to content

Commit

Permalink
Point to user code with idempotent plugin warning (#8856)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbourbeau authored Sep 4, 2024
1 parent d728052 commit 7c2134e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions distributed/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -5084,6 +5084,7 @@ def register_plugin(
"future version. Please mark your plugin as idempotent by setting its "
"`.idempotent` attribute to `True`.",
FutureWarning,
stacklevel=2,
)
else:
idempotent = getattr(plugin, "idempotent", False)
Expand Down

0 comments on commit 7c2134e

Please sign in to comment.