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

Method operation

src/Bridge/Conceptual/main.py:45–47  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

43 self.implementation = implementation
44
45 def operation(self) -> str:
46 return (f"Abstraction: Base operation with:\n"
47 f"{self.implementation.operation_implementation()}")
48
49
50class ExtendedAbstraction(Abstraction):

Callers 1

client_codeFunction · 0.45

Calls 1

Tested by

no test coverage detected