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

Method __init__

src/Builder/Conceptual/main.py:133–134  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

131 """
132
133 def __init__(self) -> None:
134 self.parts = []
135
136 def add(self, part: Any) -> None:
137 self.parts.append(part)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected