From 196ee601b2c37d13ac31067ef46ddd15cbb4ac48 Mon Sep 17 00:00:00 2001 From: Lucy Liu Date: Wed, 11 Oct 2023 17:34:06 +1100 Subject: [PATCH] Update src/npe2/_command_registry.py Co-authored-by: Draga Doncila Pop <17995243+DragaDoncila@users.noreply.github.com> --- src/npe2/_command_registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/npe2/_command_registry.py b/src/npe2/_command_registry.py index d82b111b..5694bf23 100644 --- a/src/npe2/_command_registry.py +++ b/src/npe2/_command_registry.py @@ -41,7 +41,7 @@ def resolve(self) -> Callable: class CommandRegistry: """Registry of commands, updated on `PluginManager.activate`. - `PluginManager.activate` is only run on `CommandRegistry.get` (when we get the + `PluginManager.activate` is only run on `CommandRegistry.get` (when we resolve the callable object for a command). This means that commands from enabled plugins are not added to `CommandRegistry` until a command from that plugin is executed. """