diff --git a/distributed/client.py b/distributed/client.py index b13fac566a..5c3268f3cf 100644 --- a/distributed/client.py +++ b/distributed/client.py @@ -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)