Dependency Injection Example Python