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

File main.py

src/Composite/Conceptual/main.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2EN: Composite Design Pattern
3
4Intent: Lets you compose objects into tree structures and then work with these

Callers

nothing calls this directly

Calls 5

LeafClass · 0.85
CompositeClass · 0.85
client_code2Function · 0.85
client_codeFunction · 0.70
addMethod · 0.45

Tested by

no test coverage detected