How to use Dependency Injection in Python
4 min readSep 24, 2023
A brief introduction of dependency injection
If you have never heard about SOLID principles they are 5 principles of object-oriented software design to develop maintainable and scalable software.
One of its principles is the dependency inversion (DIP) principle, which states that high-level modules should not depend on low-level modules…