Dependency injection the python way, the good way