From 7c2134e2de9e4e0beae89f289440c2ebf0da20b3 Mon Sep 17 00:00:00 2001 From: James Bourbeau Date: Wed, 4 Sep 2024 02:55:30 -0500 Subject: [PATCH] Point to user code with idempotent plugin warning (#8856) --- distributed/client.py | 1 + 1 file changed, 1 insertion(+) 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)