MCPcopy Create free account
hub / github.com/bhowiebkr/PyFlowGraph / undo

Method undo

src/commands/command_base.py:39–46  ·  view source on GitHub ↗

Undo the command, reversing its effects. Returns: True if successful, False otherwise

(self)

Source from the content-addressed store, hash-verified

37
38 @abstractmethod
39 def undo(self) -> bool:
40 """
41 Undo the command, reversing its effects.
42
43 Returns:
44 True if successful, False otherwise
45 """
46 pass
47
48 def get_description(self) -> str:
49 """Get human-readable description for UI display."""

Callers 3

executeMethod · 0.45
undoMethod · 0.45
undo_last_commandMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected