EN: The Target defines the domain-specific interface used by the client code. RU: Целевой класс объявляет интерфейс, с которым может работать клиентский код.
| 11 | |
| 12 | |
| 13 | class 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 | |
| 26 | class Adaptee: |