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

Method detach

src/Observer/Conceptual/main.py:49–55  ·  view source on GitHub ↗

EN: Detach an observer from the subject. RU: Отсоединяет наблюдателя от издателя.

(self, observer: Observer)

Source from the content-addressed store, hash-verified

47
48 @abstractmethod
49 def detach(self, observer: Observer) -> None:
50 """
51 EN: Detach an observer from the subject.
52
53 RU: Отсоединяет наблюдателя от издателя.
54 """
55 pass
56
57 @abstractmethod
58 def notify(self) -> None:

Callers 1

main.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected