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

Class Target

src/Adapter/Conceptual/object/main.py:13–23  ·  view source on GitHub ↗

EN: The Target defines the domain-specific interface used by the client code. RU: Целевой класс объявляет интерфейс, с которым может работать клиентский код.

Source from the content-addressed store, hash-verified

11
12
13class Target:
14 """
15 EN: The Target defines the domain-specific interface used by the client
16 code.
17
18 RU: Целевой класс объявляет интерфейс, с которым может работать клиентский
19 код.
20 """
21
22 def request(self) -> str:
23 return "Target: The default target's behavior."
24
25
26class Adaptee:

Callers 1

main.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected