Dependency Injection Example Python Class