MCPcopy Create free account
hub / github.com/RefactoringGuru/design-patterns-python / do_d

Method do_d

src/Mediator/Conceptual/main.py:97–99  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

95 self.mediator.notify(self, "C")
96
97 def do_d(self) -> None:
98 print("Component 2 does D.")
99 self.mediator.notify(self, "D")
100
101
102if __name__ == "__main__":

Callers 1

main.pyFile · 0.80

Calls 1

notifyMethod · 0.45

Tested by

no test coverage detected