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

Method __init__

src/State/Conceptual/main.py:36–37  ·  view source on GitHub ↗
(self, state: State)

Source from the content-addressed store, hash-verified

34 """
35
36 def __init__(self, state: State) -> None:
37 self.transition_to(state)
38
39 def transition_to(self, state: State):
40 """

Callers

nothing calls this directly

Calls 1

transition_toMethod · 0.95

Tested by

no test coverage detected