Solid Principles, Python.
needs to be changed. This is a violation of the open-closed principle. This time it is caused because we depend on concrete classes instead of on abstractions. So how do we solve the problem? Let me show a dependency diagram of the current code. Main imports reporting. Reporting imports