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

Method __init__

src/Bridge/Conceptual/main.py:42–43  ·  view source on GitHub ↗
(self, implementation: Implementation)

Source from the content-addressed store, hash-verified

40 """
41
42 def __init__(self, implementation: Implementation) -> None:
43 self.implementation = implementation
44
45 def operation(self) -> str:
46 return (f"Abstraction: Base operation with:\n"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected