Mediator Design Pattern Article : [ Ссылка ]
Design Patterns In Python Book : [ Ссылка ]
The mediator pattern is a behavioural pattern that defines an object that encapsulates how a set of objects interact.
With the mediator pattern, communication between objects is encapsulated within a mediator object.
Objects communicate through the mediator rather than directly with each other.
#python
#pythonDesignPatterns
![](https://s2.save4k.ru/pic/WO2d88H4_10/mqdefault.jpg)