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

Method handle2

src/State/Conceptual/main.py:108–109  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

106 self.context.transition_to(ConcreteStateB())
107
108 def handle2(self) -> None:
109 print("ConcreteStateA handles request2.")
110
111
112class ConcreteStateB(State):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected