Skip to content

Commit

Permalink
Update src/npe2/_command_registry.py
Browse files Browse the repository at this point in the history
Co-authored-by: Draga Doncila Pop <17995243+DragaDoncila@users.noreply.github.com>
  • Loading branch information
lucyleeow and DragaDoncila authored Oct 11, 2023
1 parent 684355b commit 196ee60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/npe2/_command_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand Down

0 comments on commit 196ee60

Please sign in to comment.